aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands
Commit message (Collapse)AuthorAgeFilesLines
* Changing command line API from 'rails blog' to 'rails new blog'.Mikel Lindsaar2010-06-041-1/+6
| | | | | | | | | | Also removed the limitation of not being able to call your new server any of the rails commands (generate, server, dbconsole, console etc) as there is no longer any ambiguity here. http://rails.lighthouseapp.com/projects/8994/tickets/4665 Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Still copy application configuration to generator even if they are required ↵José Valim2010-06-022-0/+2
| | | | earlier. Also tidy up the guide a little bit.
* add support for mysql2 adapter to dbconsoleBrian Lopez2010-05-041-2/+2
| | | | | | [#4532 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Move ActionMailer generator to AMCarlhuda2010-04-291-1/+1
|
* The rake task :environment now loads config/environment.rb instead of ↵José Valim2010-04-293-1/+2
| | | | initializing the application on its own. This fixes [#4492 state:resolved] and also avoids the application being initialized twice in some rake tasks.
* Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved]Anil Wadghule2010-04-261-1/+2
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Make db console work for all versions of ruby on Windows.unknown2010-04-261-1/+2
| | | | | | [#3999 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix regexp typoJeremy Kemper2010-04-131-1/+1
|
* Make RUBY_PLATFORM windows regex consistent [#4345 state:resolved]Anil Wadghule2010-04-121-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Create tmp directories if required before starting server [#3907 state:resolved]Ravinder Singh2010-03-311-0/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make script/dbconsole work with oracle (sqlplus ↵Edgars Beigarts2010-03-261-0/+12
| | | | | | <username>[/<password>][@<connect_identifier>]) [#3773 state:resolved]
* bin/rails should use the new app generator path.José Valim2010-03-231-1/+1
|
* Fix server environment [#3877 status:resolved]Simo Niemelä2010-02-101-4/+11
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add default values to output of 'rails server -h', hardcoded as Rack::Server ↵Prem Sichanugrist2010-02-101-3/+3
| | | | | | did since options doesn't have any data at the time of parsing arguments [#3910 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Add missing -h/--help flag to several rails command [#3909 status:resolved]Prem Sichanugrist2010-02-105-9/+9
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* rails runner loads environment after parsing command-line optionsJeremy Kemper2010-02-091-0/+2
|
* fix usage examples and more to use new invocationsRomD2010-02-062-7/+7
| | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Fix 'rails server -h' double help banner. Correct its usage line. [#3874 ↵Henrik N2010-02-061-1/+4
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Automatically require rubygems when --dev flag is given.José Valim2010-02-041-1/+2
|
* Make bin/rails call rails/commands/application, fix generators usage and ↵José Valim2010-02-031-67/+0
| | | | update .gitignores.
* Adding 'db' as a shortcut for dbconsole to the rails commandMikel Lindsaar2010-02-031-8/+9
|
* Rename usage path to command to just the command nameDavid Heinemeier Hansson2010-02-024-4/+4
|
* Wups, need the application command in there tooDavid Heinemeier Hansson2010-02-021-0/+2
|
* Fix rails serverDavid Heinemeier Hansson2010-02-021-1/+1
|
* Added "rake about" as a replacement for script/about [DHH]David Heinemeier Hansson2010-02-021-2/+0
|
* Boot path has already been required, dont need it againDavid Heinemeier Hansson2010-02-021-5/+0
|
* Removed all the default commands in script/* and replaced them with ↵David Heinemeier Hansson2010-02-022-0/+81
| | | | script/rails and a rails command that'll act the same when run from within the app [DHH]
* Automatically configure generators if application is defined.José Valim2010-01-292-2/+0
|
* Move console stuff to its own directory.José Valim2010-01-231-4/+4
|
* Default to sync instrumentation.José Valim2010-01-211-10/+1
|
* Make script/dbconsole work again [#3690 state:resolved]Sam Granieri2010-01-161-2/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix an issue where log was not being tailed in the first request.José Valim2010-01-151-1/+14
|
* LogTailer should be invoked after all logs in threads were flushed.José Valim2010-01-151-5/+1
|
* Get everyone running on Rails.env and fix the broken environment settings ↵David Heinemeier Hansson2010-01-114-12/+13
| | | | for script/console and script/dbconsole
* Have to remove the environment name from ARGV or IRB will freak outDavid Heinemeier Hansson2010-01-091-1/+1
|
* No more hacks to ensure generators are executed inside Rails.root.José Valim2010-01-072-2/+2
|
* Orphan experiment no longer neededDavid Heinemeier Hansson2009-12-301-69/+0
|
* script/server should init Rails by loading config.ruJoshua Peek2009-12-261-16/+4
| | | | Fixes "Rails 3.0 doesn't fucking work"
* Shift more responsibility from application class to its singleton instance. ↵Jeremy Kemper2009-12-231-5/+5
| | | | Treat instantiation and boot as separate steps. Use app.config rather than app.configuration.
* Fix an ivar name conflict in Rails::ServerCarlhuda2009-12-021-5/+5
|
* Have script/* and Rakefile use the application objectCarlhuda2009-11-243-9/+30
|
* Refactor script/dbconsole into an objectCarlhuda2009-11-241-80/+89
|
* Use Rails.env after loading environmentJeremy Kemper2009-11-241-2/+2
|
* Add a dead --irb option mentioning upgrade pathJeremy Kemper2009-11-231-0/+1
|
* Set RAILS_ENV before loading config/environmentJeremy Kemper2009-11-231-10/+7
|
* Refactor script/console into an object and use IRB.start instead of calling ↵Carlhuda2009-11-231-39/+48
| | | | exec.
* Refactor script/server into an object that inherits from Rack::ServerCarlhuda2009-11-231-59/+61
|
* Revert "Final steps toward clean rails "foo"; cd foo; gem bundle; ↵Jeremy Kemper2009-11-191-3/+1
| | | | | | | | script/server working" Broke stuff. This reverts commit 520b8b59110dd130c89b317b6bd65d8644c7836f.
* Final steps toward clean rails "foo"; cd foo; gem bundle; script/server workingYehuda Katz + Carl Lerche2009-11-181-1/+3
|
* Make script/server work with correct application.rbYehuda Katz2009-11-161-1/+1
|