diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-01 08:10:48 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-01 08:10:48 -0700 |
commit | fe64edec3df2010d185db4178d542de82b939cba (patch) | |
tree | c06e0d7a5632986995d1132707318f9edcf79aa5 /railties/lib/rails/commands/commands_tasks.rb | |
parent | 09ce1df7aa2845b86a98a392cb6691566f533d9b (diff) | |
parent | dbdb25463c257a9efd0771c6876756263fd071f1 (diff) | |
download | rails-fe64edec3df2010d185db4178d542de82b939cba.tar.gz rails-fe64edec3df2010d185db4178d542de82b939cba.tar.bz2 rails-fe64edec3df2010d185db4178d542de82b939cba.zip |
Merge pull request #12728 from arunagw/aa-warnings-removed-ruby-trunk
More Warnings removed for ruby trunk
Diffstat (limited to 'railties/lib/rails/commands/commands_tasks.rb')
-rw-r--r-- | railties/lib/rails/commands/commands_tasks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/commands_tasks.rb b/railties/lib/rails/commands/commands_tasks.rb index 59d2a0793e..de60423784 100644 --- a/railties/lib/rails/commands/commands_tasks.rb +++ b/railties/lib/rails/commands/commands_tasks.rb @@ -139,7 +139,7 @@ EOT # This allows us to run `rails server` from other directories, but still get # the main config.ru and properly set the tmp directory. def set_application_directory! - Dir.chdir(File.expand_path('../../', APP_PATH)) unless File.exists?(File.expand_path("config.ru")) + Dir.chdir(File.expand_path('../../', APP_PATH)) unless File.exist?(File.expand_path("config.ru")) end def require_application_and_environment! |