aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove ::Controllers related cruft; fix AP testsNicholas Seckar2006-02-261-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more information to script/plugin's doings to ease debugging #3755 ↵David Heinemeier Hansson2006-02-261-2/+4
| | | | | | [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow script/server -c /path/to/lighttpd.confJeremy Kemper2006-02-231-1/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove hardcoded path to reaper script in script/server.Jeremy Kemper2006-02-221-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed default lighttpd.conf to use CWD from lighttpd 1.4.10 that allows ↵David Heinemeier Hansson2006-02-121-7/+9
| | | | | | the same configuration to be used for both detach and not. Also ensured that auto-repeaping of FCGIs only happens when lighttpd is not detached. [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show usage when script/plugin is called without arguments. Closes #3450Michael Koziarski2006-01-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show a message on script/server exit before reaping FCGIsSam Stephenson2006-01-131-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reap FCGI processes after lighttpd exitsSam Stephenson2006-01-121-2/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in benchmarker usage string.Marcel Molina2005-12-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in profiler usage string.Marcel Molina2005-12-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add install.rb file to plugin generation which is loaded, if it exists, when ↵Marcel Molina2005-12-031-0/+7
| | | | | | you install a plugin. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Run initialize_logger in script/lighttpd to ensure the log file exists ↵Sam Stephenson2005-11-301-5/+6
| | | | | | before tailing it git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/plugin: handle root paths and plugin names which contain spaces. ↵Jeremy Kemper2005-11-231-10/+11
| | | | | | References #2995. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Have the lighttpd server script report the actual ip to which the server is ↵Sam Stephenson2005-11-211-3/+6
| | | | | | bound. Closes #2903. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make help for the console command more explicit about how to specify the ↵Marcel Molina2005-11-211-0/+1
| | | | | | desired environment in which to run the console. Closes #2911. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/console uses RAILS_ENV environment variable if present. Closes #2932.Jeremy Kemper2005-11-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Eliminate Subversion dependencies in scripts/plugin. Correct install ↵Jeremy Kemper2005-11-131-61/+94
| | | | | | options. Introduce --force option to reinstall a plugin. Closes #2842. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pulled auto-starting browser: More pain than gainDavid Heinemeier Hansson2005-11-122-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2987 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disabled stderr suppressing until activesupport is available also in non-gem ↵David Heinemeier Hansson2005-11-101-1/+1
| | | | | | mode git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't detach or fork for script/server tailingNicholas Seckar2005-11-091-19/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added automatic browser launching on OS X when starting script/server [DHH]David Heinemeier Hansson2005-11-092-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed all script/* to use /usr/bin/env ruby instead of hard-coded Ruby ↵David Heinemeier Hansson2005-11-092-3/+0
| | | | | | path. public/dispatcher.* still uses the hard-coded path for compatibility with web servers that dont have Ruby in path [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove bogus hyphen from script/process/reaper calls to 'ps'. Closes #2767.Jeremy Kemper2005-11-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Copy lighttpd.conf when it is first needed, instead of on app creationJamis Buck2005-11-071-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use require_library_or_gem 'fcgi' in script/serverSam Stephenson2005-11-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure to check for FCGI as well as lighttpdDavid Heinemeier Hansson2005-11-072-4/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2917 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added default lighttpd config in config/lighttpd.conf and added a default ↵David Heinemeier Hansson2005-11-072-0/+104
| | | | | | runner for lighttpd in script/server (works like script/server, but using lighttpd and FastCGI). It will use lighttpd if available, otherwise WEBrick. You can force either or using 'script/server lighttpd' or 'script/server webrick' [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added default lighttpd config in config/lighttpd.conf and added a default ↵David Heinemeier Hansson2005-11-072-101/+19
| | | | | | runner for lighttpd in script/server (works like script/server, but using lighttpd and FastCGI). It will use lighttpd if available, otherwise WEBrick. You can force either or using 'script/server lighttpd' or 'script/server webrick' [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fail gracefully from svn checks (closes #2700) [Rick Olson]David Heinemeier Hansson2005-11-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make use of silence_stderr in script/lighttpd, script/plugin, and Rails::InfoSam Stephenson2005-11-072-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fail gracefully when plugin was not found [Chad Fowler]David Heinemeier Hansson2005-11-061-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* svn:externals is now an explicit option for script/plugin (closes #2755) ↵David Heinemeier Hansson2005-11-061-35/+27
| | | | | | [Ryan Tomayko] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable HTTP installation of plugins when svn isn't avaialable. Closes #2661. ↵Sam Stephenson2005-11-061-8/+72
| | | | | | [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/about to display formatted Rails::Info outputSam Stephenson2005-11-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/lighttpd: Detach and exit the forked processSam Stephenson2005-11-041-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/lighttpd: tail the logfile when running in the foreground, and ↵Sam Stephenson2005-11-041-12/+37
| | | | | | attempt to guess the port number git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't reap the spawner or reaper scripts either. Closes #2727.Jeremy Kemper2005-11-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't reap spawn-fcgi. Closes #2727.Jeremy Kemper2005-11-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reaper knows how to find processes even if the dispatch path is very long. ↵Jeremy Kemper2005-11-021-3/+3
| | | | | | Closes #2711. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We want ::Plugin, not Commands::Plugin. Closes #2664.Jeremy Kemper2005-10-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Patches go to trac nowDavid Heinemeier Hansson2005-10-301-4/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve script/plugin on Windows. Closes #2646.Jeremy Kemper2005-10-291-3/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de