Skip to content
Browse files

dir -> directory [ci skip]

  • Loading branch information...
1 parent 8e0d43b commit e1bd8d1a5c1ee7a296fca5bb62bace53809e3b95 @prathamesh-sonpatki prathamesh-sonpatki committed May 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/commands.rb
View
2 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 e1bd8d1

Please sign in to comment.
Something went wrong with that request. Please try again.