aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands
Commit message (Collapse)AuthorAgeFilesLines
* Add grep-based fallback to reaper, so it can work in pidless setups (again)Jamis Buck2006-11-111-10/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to script/process/spawner of specifying the binding address ↵David Heinemeier Hansson2006-10-261-26/+59
| | | | | | #5133 [zsombor] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the first unparsed argument as the code or file to run. Closes #6286.Jeremy Kemper2006-09-291-5/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/runner can run files, pass on arguments, and be used as a shebang. ↵Jeremy Kemper2006-09-261-6/+24
| | | | | | Closes #6286. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/server creates the tmp/pids directory. Closes #6204.Jeremy Kemper2006-09-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clarify usage of script/plugin source. Closes #5344. [james.adam@gmail.com]Marcel Molina2006-08-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Proper initializationDavid Heinemeier Hansson2006-08-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that you can change the web server port in config/lighttpd.conf from ↵David Heinemeier Hansson2006-08-051-0/+17
| | | | | | script/server --port/-p (closes #5465) [mats@imediatec.co.uk] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/performance/profiler compatibility with the new ruby-prof, including ↵Jeremy Kemper2006-08-051-9/+25
| | | | | | an option to choose the results printer. Closes #5679. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Call an inspector for inspectorDavid Heinemeier Hansson2006-08-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure script/reaper only reaps dispatcher pids by default, and not the ↵Jamis Buck2006-07-181-2/+2
| | | | | | spawner's pid. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]Rick Olson2006-07-171-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure the logger is initialized. Closes #5629.Jeremy Kemper2006-07-061-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Mongrel-spawning capabilities to script/process/spawner. Mongrel will ↵David Heinemeier Hansson2006-07-061-17/+61
| | | | | | be the default choice if installed, otherwise FCGI is tried [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/server prefers mongrel over lighttpdJeremy Kemper2006-06-291-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mongrel: script/server tails the rails log like it does with lighttpd. ↵Jeremy Kemper2006-06-293-19/+27
| | | | | | Closes #5541. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mongrel: script/server works on Win32. Closes #5499.Jeremy Kemper2006-06-282-5/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440.Nicholas Seckar2006-06-287-22/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mongrel support for script/server. Closes #5475.Jeremy Kemper2006-06-232-7/+56
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix script/plugin so it doesn't barf on invalid URLs [Rick]Rick Olson2006-06-121-6/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]Rick Olson2006-06-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug with 'script/plugin install' so it reports unknown plugin names ↵Rick Olson2006-06-091-1/+1
| | | | | | correctly. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added uninstall.rb hook to plugin handling, such that plugins have a way of ↵David Heinemeier Hansson2006-06-031-0/+6
| | | | | | removing assets and other artifacts on removal (closes #5003) [takiuchi@drecom.co.jp] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Create temporary dirs relative to RAILS_ROOT when running script/server ↵David Heinemeier Hansson2006-06-031-1/+1
| | | | | | #5014 [elliot@townx.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make "script/plugin install" work with svn+ssh URLsSam Stephenson2006-05-311-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* preliminary support for plugin meta filesRick Olson2006-05-231-14/+50
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Distinguish the spawners for different processesDavid Heinemeier Hansson2006-05-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4324 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -n/--process to script/process/spawner name the process pid (default ↵David Heinemeier Hansson2006-05-021-1/+1
| | | | | | is dispatch) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -n/--process to script/process/spawner name the process pid (default ↵David Heinemeier Hansson2006-05-021-1/+3
| | | | | | is dispatch) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the inspector work on debian (closes #4935) [Lars pind]David Heinemeier Hansson2006-05-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/process/inspector to do simple process status information on ↵David Heinemeier Hansson2006-04-281-3/+4
| | | | | | Rails dispatchers keeping pid files in tmp/pids [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Status in one lineDavid Heinemeier Hansson2006-04-281-9/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4299 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a simple process inspectorDavid Heinemeier Hansson2006-04-281-0/+68
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pid file usage to script/process/spawner and script/process/reaper ↵David Heinemeier Hansson2006-04-282-86/+117
| | | | | | along with a directive in default config/lighttpd.conf file to record the pid. They will all save their pid file in tmp/pids [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enhances plugin#discover allowing it to discover svn:// like URIs (closes ↵Rick Olson2006-04-061-6/+11
| | | | | | #4565) [ruben.nine@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ever so lined upDavid Heinemeier Hansson2006-04-031-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that spawner should daemonize if running in repeat mode [DHH]David Heinemeier Hansson2006-04-031-2/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use --simple-prompt instead of --prompt-mode simple for console ↵David Heinemeier Hansson2006-04-011-1/+1
| | | | | | compatibility with Windows/Ruby 1.8.2 #4532 [starr@starrnhorne.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show usage description if no code is passed (closes #4447) [murphy@cYcnus.de]David Heinemeier Hansson2006-03-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont require rake to run the server, just have a little undryness instead ↵David Heinemeier Hansson2006-03-261-6/+2
| | | | | | (closes #4213) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make all ActionView helpers available in the console for debugging purposes.Marcel Molina2006-03-211-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* lighttpd.conf should use CWD so the config file is portable across systems, ↵David Heinemeier Hansson2006-03-201-3/+4
| | | | | | bad ulysses! ;) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use cleanpath of config file in lighttpd server script (closes #4203) [Caio ↵David Heinemeier Hansson2006-03-181-1/+1
| | | | | | Chassot] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added 'port open?' check to the spawner when running in repeat mode so we ↵David Heinemeier Hansson2006-03-181-3/+13
| | | | | | don't needlessly boot the dispatcher if the port is already in use anyway #4089 [guy.naor@famundo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3938 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the detach option for lighttp (closes #4097) [schultzr@gmail.com]David Heinemeier Hansson2006-03-181-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use require_library_or_gem to load rake in commands/server.rb. Closes #4205.Sam Stephenson2006-03-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the Rake API instead of shelling out to create the tmp directory in ↵Sam Stephenson2006-03-121-2/+7
| | | | | | commands/server.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added socket cleanup for lighttpd, both before and after [DHH] Added ↵David Heinemeier Hansson2006-03-043-3/+9
| | | | | | automatic creation of tmp/ when running script/server [DHH] Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add 'app' accessor to script/console as an instance of Integration::SessionJamis Buck2006-03-011-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -r/--repeat option to script/process/spawner that offers the same loop ↵David Heinemeier Hansson2006-02-261-3/+22
| | | | | | protection as the spinner did. This deprecates the script/process/spinner, so it's no longer included in the default Rails skeleton, but still available for backwards compatibility (closes #3461) [ror@andreas-s.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de