From 9f224061ee2776f3f5e571af361dfef7d3427e2f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 2 Feb 2010 15:54:09 -0800 Subject: Boot path has already been required, dont need it again --- railties/lib/rails/commands/rails.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'railties/lib/rails/commands/rails.rb') 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 -- cgit v1.2.3