aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands
Commit message (Collapse)AuthorAgeFilesLines
* use autoeval not autoirb, it's mostly equivalent but doesn't make stepping ↵Michael Koziarski2007-11-301-1/+1
| | | | | | frustrating [Koz]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure script/plugin doesn't skip files beginning with http (i.e. the old ↵Michael Koziarski2007-11-211-1/+1
| | | | | | http_authentication plugin). Closes #7887 [choonkeat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't eliminate the logger by defaultJeremy Kemper2007-11-011-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Request profilerJeremy Kemper2007-10-251-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add --prefix option to script/server when using mongrel. [dacat] Closes #9716Michael Koziarski2007-10-011-1/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7708 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that installing plugins from SVN repositories that use trunk/ will ↵David Heinemeier Hansson2007-09-301-8/+12
| | | | | | work (closes #8188) [evan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix webrick when using the debugger (closes #9348) [bronson]David Heinemeier Hansson2007-09-251-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Skip svnindex.xsl files when installing plugins (closes #7070) [davidjrice]David Heinemeier Hansson2007-09-221-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Print Rails version when starting console (closes #7440) [eyematz]David Heinemeier Hansson2007-09-221-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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