diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-02 17:16:30 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-06-02 17:16:30 -0300 |
commit | 083f8e0d41e1af599610fba91a0bc6668867a7bf (patch) | |
tree | c3b4a412c48a7da86e81bb9b68f31bbbfae1fe57 | |
parent | 2005e3599211cda7cb7a898f9499872c0038ad9a (diff) | |
parent | 1da201b4dbbe5226813e0ef04f929d7357935c40 (diff) | |
download | rails-083f8e0d41e1af599610fba91a0bc6668867a7bf.tar.gz rails-083f8e0d41e1af599610fba91a0bc6668867a7bf.tar.bz2 rails-083f8e0d41e1af599610fba91a0bc6668867a7bf.zip |
Merge pull request #15474 from unixmonkey/master
File.exist? instead of File.exists? in bin/setup
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/bin/setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/bin/setup b/railties/lib/rails/generators/rails/app/templates/bin/setup index 5fcc1a07d6..0e22b3fa5c 100644 --- a/railties/lib/rails/generators/rails/app/templates/bin/setup +++ b/railties/lib/rails/generators/rails/app/templates/bin/setup @@ -12,7 +12,7 @@ Dir.chdir APP_ROOT do system "bundle check || bundle install" # puts "\n== Copying sample files ==" - # unless File.exists?("config/database.yml") + # unless File.exist?("config/database.yml") # system "cp config/database.yml.sample config/database.yml" # end |