Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ARGV.empty? is useless. If ARGV is empty, ARGV.first != "new" will always be ↵ | Madjo DIAPENA | 2010-07-04 | 1 | -1/+1 |
| | | | | | | true Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Avoid calls to Rails::Application since this is not the official API. | José Valim | 2010-07-01 | 1 | -1/+1 |
| | | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally. | ||||
* | Note that 'rails server' allows specifying mongrel, thin, etc [#4845 ↵ | Trevor Turk | 2010-06-22 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rails Runner now sets $0 and $PROGRAM_NAME to name of file being run [#2244 ↵ | rohit | 2010-06-22 | 1 | -0/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Added absolute path for config.ru as well. Turns out this is also needed to ↵ | Ryan Duryea | 2010-06-20 | 1 | -1/+2 |
| | | | | | | | | fix the daemon issue under ruby 1.8.7 [#4531 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Pass rack the absolute path of server's pid file | Ryan Duryea | 2010-06-20 | 1 | -1/+1 |
| | | | | | | | | | When running as a daemon, rack will cd to "/" and paths relative to the root of the rails app aren't valid when rack is setting up. Because of this, "rails server -d" was failing silently when trying to write it's pid file Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | remove executable permission from files that don't need it. [#4802 ↵ | rohit | 2010-06-20 | 1 | -0/+0 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Changing command line API from 'rails blog' to 'rails new blog'. | Mikel Lindsaar | 2010-06-04 | 1 | -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é Valim | 2010-06-02 | 2 | -0/+2 |
| | | | | earlier. Also tidy up the guide a little bit. | ||||
* | add support for mysql2 adapter to dbconsole | Brian Lopez | 2010-05-04 | 1 | -2/+2 |
| | | | | | | [#4532 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Move ActionMailer generator to AM | Carlhuda | 2010-04-29 | 1 | -1/+1 |
| | |||||
* | The rake task :environment now loads config/environment.rb instead of ↵ | José Valim | 2010-04-29 | 3 | -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 Wadghule | 2010-04-26 | 1 | -1/+2 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Make db console work for all versions of ruby on Windows. | unknown | 2010-04-26 | 1 | -1/+2 |
| | | | | | | [#3999 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix regexp typo | Jeremy Kemper | 2010-04-13 | 1 | -1/+1 |
| | |||||
* | Make RUBY_PLATFORM windows regex consistent [#4345 state:resolved] | Anil Wadghule | 2010-04-12 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Create tmp directories if required before starting server [#3907 state:resolved] | Ravinder Singh | 2010-03-31 | 1 | -0/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make script/dbconsole work with oracle (sqlplus ↵ | Edgars Beigarts | 2010-03-26 | 1 | -0/+12 |
| | | | | | | <username>[/<password>][@<connect_identifier>]) [#3773 state:resolved] | ||||
* | bin/rails should use the new app generator path. | José Valim | 2010-03-23 | 1 | -1/+1 |
| | |||||
* | Fix server environment [#3877 status:resolved] | Simo Niemelä | 2010-02-10 | 1 | -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 Sichanugrist | 2010-02-10 | 1 | -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 Sichanugrist | 2010-02-10 | 5 | -9/+9 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | rails runner loads environment after parsing command-line options | Jeremy Kemper | 2010-02-09 | 1 | -0/+2 |
| | |||||
* | fix usage examples and more to use new invocations | RomD | 2010-02-06 | 2 | -7/+7 |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Fix 'rails server -h' double help banner. Correct its usage line. [#3874 ↵ | Henrik N | 2010-02-06 | 1 | -1/+4 |
| | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Automatically require rubygems when --dev flag is given. | José Valim | 2010-02-04 | 1 | -1/+2 |
| | |||||
* | Make bin/rails call rails/commands/application, fix generators usage and ↵ | José Valim | 2010-02-03 | 1 | -67/+0 |
| | | | | update .gitignores. | ||||
* | Adding 'db' as a shortcut for dbconsole to the rails command | Mikel Lindsaar | 2010-02-03 | 1 | -8/+9 |
| | |||||
* | Rename usage path to command to just the command name | David Heinemeier Hansson | 2010-02-02 | 4 | -4/+4 |
| | |||||
* | Wups, need the application command in there too | David Heinemeier Hansson | 2010-02-02 | 1 | -0/+2 |
| | |||||
* | Fix rails server | David Heinemeier Hansson | 2010-02-02 | 1 | -1/+1 |
| | |||||
* | Added "rake about" as a replacement for script/about [DHH] | David Heinemeier Hansson | 2010-02-02 | 1 | -2/+0 |
| | |||||
* | Boot path has already been required, dont need it again | David Heinemeier Hansson | 2010-02-02 | 1 | -5/+0 |
| | |||||
* | Removed all the default commands in script/* and replaced them with ↵ | David Heinemeier Hansson | 2010-02-02 | 2 | -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é Valim | 2010-01-29 | 2 | -2/+0 |
| | |||||
* | Move console stuff to its own directory. | José Valim | 2010-01-23 | 1 | -4/+4 |
| | |||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -10/+1 |
| | |||||
* | Make script/dbconsole work again [#3690 state:resolved] | Sam Granieri | 2010-01-16 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix an issue where log was not being tailed in the first request. | José Valim | 2010-01-15 | 1 | -1/+14 |
| | |||||
* | LogTailer should be invoked after all logs in threads were flushed. | José Valim | 2010-01-15 | 1 | -5/+1 |
| | |||||
* | Get everyone running on Rails.env and fix the broken environment settings ↵ | David Heinemeier Hansson | 2010-01-11 | 4 | -12/+13 |
| | | | | for script/console and script/dbconsole | ||||
* | Have to remove the environment name from ARGV or IRB will freak out | David Heinemeier Hansson | 2010-01-09 | 1 | -1/+1 |
| | |||||
* | No more hacks to ensure generators are executed inside Rails.root. | José Valim | 2010-01-07 | 2 | -2/+2 |
| | |||||
* | Orphan experiment no longer needed | David Heinemeier Hansson | 2009-12-30 | 1 | -69/+0 |
| | |||||
* | script/server should init Rails by loading config.ru | Joshua Peek | 2009-12-26 | 1 | -16/+4 |
| | | | | Fixes "Rails 3.0 doesn't fucking work" | ||||
* | Shift more responsibility from application class to its singleton instance. ↵ | Jeremy Kemper | 2009-12-23 | 1 | -5/+5 |
| | | | | Treat instantiation and boot as separate steps. Use app.config rather than app.configuration. | ||||
* | Fix an ivar name conflict in Rails::Server | Carlhuda | 2009-12-02 | 1 | -5/+5 |
| | |||||
* | Have script/* and Rakefile use the application object | Carlhuda | 2009-11-24 | 3 | -9/+30 |
| | |||||
* | Refactor script/dbconsole into an object | Carlhuda | 2009-11-24 | 1 | -80/+89 |
| | |||||
* | Use Rails.env after loading environment | Jeremy Kemper | 2009-11-24 | 1 | -2/+2 |
| |