Permalink
Browse files

Merge pull request #10463 from prathamesh-sonpatki/dir

dir -> directory [ci skip]
  • Loading branch information...
rafaelfranca committed May 4, 2013
2 parents 8e0d43b + e1bd8d1 commit 4110abea002a1725b9a1c80df44cc46842a66856
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/commands.rb
@@ -66,7 +66,7 @@
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"))

0 comments on commit 4110abe

Please sign in to comment.