Permalink
Browse files

Boot path has already been required, dont need it again

  • Loading branch information...
1 parent 08fd9a6 commit 9f224061ee2776f3f5e571af361dfef7d3427e2f @dhh dhh committed Feb 2, 2010
Showing with 0 additions and 5 deletions.
  1. +0 −5 railties/lib/rails/commands/rails.rb
@@ -28,19 +28,15 @@
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 @@
require APP_PATH
require 'rails/commands/plugin'
when 'runner'
- require BOOT_PATH
require 'rails/commands/runner'
require ENV_PATH

0 comments on commit 9f22406

Please sign in to comment.