diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2010-02-02 16:10:24 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2010-02-02 16:10:24 -0800 |
commit | 68ca336195522731b6a20e20b57808115c8318b4 (patch) | |
tree | 74f3425ae7f8fe251d20cfba82bf8560dfbbbd04 /railties/lib/rails | |
parent | 7840ea29b44c9dcdae72feddd1a5170bb22fb160 (diff) | |
download | rails-68ca336195522731b6a20e20b57808115c8318b4.tar.gz rails-68ca336195522731b6a20e20b57808115c8318b4.tar.bz2 rails-68ca336195522731b6a20e20b57808115c8318b4.zip |
Fix rails server
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/commands/rails.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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' |