aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/runner.rb
Commit message (Collapse)AuthorAgeFilesLines
* Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-011-1/+1
| | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* Rails Runner now sets $0 and $PROGRAM_NAME to name of file being run [#2244 ↵rohit2010-06-221-0/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* The rake task :environment now loads config/environment.rb instead of ↵José Valim2010-04-291-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>
* 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>
* rails runner loads environment after parsing command-line optionsJeremy Kemper2010-02-091-0/+2
|
* Rename usage path to command to just the command nameDavid Heinemeier Hansson2010-02-021-1/+1
|
* Get everyone running on Rails.env and fix the broken environment settings ↵David Heinemeier Hansson2010-01-111-1/+0
| | | | for script/console and script/dbconsole
* script/runner should require environmentJoshua Peek2009-10-161-2/+0
|
* Use Rails.initialize! where we just want to run the initializers and aren't ↵Joshua Peek2009-10-161-1/+1
| | | | concerned about the config
* Have config/application.rb contain the application definition and require ↵Carl Lerche2009-10-151-1/+1
| | | | that file instead of config/boot.rb or config/environment.rb in script/*.
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-0/+54