aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands
Commit message (Collapse)AuthorAgeFilesLines
* Start in irb mode if possibleDavid Heinemeier Hansson2007-04-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug ↵David Heinemeier Hansson2007-04-284-9/+30
| | | | | | by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce RELATIVE_RAILS_ROOT and changed spawner script to use it. Prior to ↵Tobias Lütke2007-04-161-3/+3
| | | | | | this change spawner would assume the non symlinked deploy directory which made reaper reload the wrong code after further deployments. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/console quotes RAILS_ROOT in irb command line so it works with spaces ↵Jeremy Kemper2007-04-091-1/+1
| | | | | | in the path. Closes #7955. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.Jeremy Kemper2007-03-065-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* boot.rb sets RAILS_ROOT, so remove that. Install http plugins inside a ↵Rick Olson2007-02-271-6/+6
| | | | | | Dir.chdir block so that the cwd doesn't change git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* set the RAILS_ROOT for script/plugin if it's not set alreadyRick Olson2007-02-271-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed script/process/spawner to work properly with Mongrel including in -r ↵David Heinemeier Hansson2006-12-041-4/+14
| | | | | | (daemonize mode) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* WupsDavid Heinemeier Hansson2006-12-011-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added one-letter aliases for the three default environments to ↵David Heinemeier Hansson2006-12-011-1/+8
| | | | | | script/console, so script/console p will load the production environment (t for test, d for development) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored to use same option setupDavid Heinemeier Hansson2006-11-301-6/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that script/server running against Mongrel should tail the proper log ↵David Heinemeier Hansson2006-11-302-5/+8
| | | | | | regardless of the environment [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Restore windows compatibilityDavid Heinemeier Hansson2006-11-191-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5577 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Starting, not started yetDavid Heinemeier Hansson2006-11-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make script/server work with -d and -e on MongrelDavid Heinemeier Hansson2006-11-191-41/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use custom mime file for script/server mongrel if config/mime.yml exists. ↵Rick Olson2006-11-191-1/+9
| | | | | | Pass --mime=other/path for a custom mime file. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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