From 68ca336195522731b6a20e20b57808115c8318b4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 2 Feb 2010 16:10:24 -0800 Subject: Fix rails server --- railties/lib/rails/commands/rails.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 2e7c6931dd..a422d33e67 100644 --- a/railties/lib/rails/commands/rails.rb +++ b/railties/lib/rails/commands/rails.rb @@ -33,7 +33,7 @@ when 'c', 'console' Rails::Console.start(Rails::Application) when 's', 'server' require 'rails/commands/server' - Dir.chdir(File.expand_path('../..', __FILE__)) + Dir.chdir(ROOT_PATH) Rails::Server.start when 'dbconsole' -- cgit v1.2.3