Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dir -> directory [ci skip]

  • Loading branch information...
commit e1bd8d1a5c1ee7a296fca5bb62bace53809e3b95 1 parent 8e0d43b
@prathamesh-sonpatki prathamesh-sonpatki authored
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"))
Please sign in to comment.
Something went wrong with that request. Please try again.