diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2010-02-02 15:54:09 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2010-02-02 15:54:31 -0800 |
commit | 9f224061ee2776f3f5e571af361dfef7d3427e2f (patch) | |
tree | 147a71a36bfe16168fa4edd9527600094a897453 | |
parent | 08fd9a6491b2be65727199e9fa186fc939a64965 (diff) | |
download | rails-9f224061ee2776f3f5e571af361dfef7d3427e2f.tar.gz rails-9f224061ee2776f3f5e571af361dfef7d3427e2f.tar.bz2 rails-9f224061ee2776f3f5e571af361dfef7d3427e2f.zip |
Boot path has already been required, dont need it again
-rw-r--r-- | railties/lib/rails/commands/rails.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/railties/lib/rails/commands/rails.rb b/railties/lib/rails/commands/rails.rb index a2f86028ec..2e7c6931dd 100644 --- a/railties/lib/rails/commands/rails.rb +++ b/railties/lib/rails/commands/rails.rb @@ -28,19 +28,15 @@ when 'g', 'generate' require ENV_PATH require 'rails/commands/generate' when 'c', 'console' - require BOOT_PATH require 'rails/commands/console' require APP_PATH Rails::Console.start(Rails::Application) when 's', 'server' - require File.expand_path('../../config/boot', __FILE__) require 'rails/commands/server' Dir.chdir(File.expand_path('../..', __FILE__)) Rails::Server.start - when 'dbconsole' - require BOOT_PATH require 'rails/commands/dbconsole' require APP_PATH Rails::DBConsole.start(Rails::Application) @@ -57,7 +53,6 @@ when 'plugin' require APP_PATH require 'rails/commands/plugin' when 'runner' - require BOOT_PATH require 'rails/commands/runner' require ENV_PATH |