Skip to content

Commit

Permalink
dir -> directory [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamesh-sonpatki committed May 4, 2013
1 parent 8e0d43b commit e1bd8d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/commands.rb
Expand Up @@ -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"))
Expand Down

0 comments on commit e1bd8d1

Please sign in to comment.