File.exist? instead of File.exists? in bin/setup

File.exists? is deprecated in Ruby 2.1+

https://github.com/ruby/ruby/blob/v2_1_2/file.c#L1413
This commit is contained in:
David Jones 2014-06-02 15:31:09 -04:00
parent b5d53f8648
commit 1da201b4db

@ -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