diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-05-04 20:13:42 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-05-04 20:14:41 +0530 |
commit | e1bd8d1a5c1ee7a296fca5bb62bace53809e3b95 (patch) | |
tree | a830e5879a7d2761f79fe61b5b244acbd99757bd /railties | |
parent | 8e0d43bc500f751d72a3f65caafa9fec2f2bda96 (diff) | |
download | rails-e1bd8d1a5c1ee7a296fca5bb62bace53809e3b95.tar.gz rails-e1bd8d1a5c1ee7a296fca5bb62bace53809e3b95.tar.bz2 rails-e1bd8d1a5c1ee7a296fca5bb62bace53809e3b95.zip |
dir -> directory [ci skip]
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/commands.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands.rb b/railties/lib/rails/commands.rb index 0d1286031c..e8c42b149b 100644 --- a/railties/lib/rails/commands.rb +++ b/railties/lib/rails/commands.rb @@ -66,7 +66,7 @@ when 'console' Rails::Console.start(Rails.application, options) when 'server' - # Change to the application's path if there is no config.ru file in current dir. + # Change to the application's path if there is no config.ru file in current directory. # This allows us to run `rails server` from other directories, but still get # the main config.ru and properly set the tmp directory. Dir.chdir(File.expand_path('../../', APP_PATH)) unless File.exists?(File.expand_path("config.ru")) |