Skip to content

Commit

Permalink
Forgot to set the config to use sample file
Browse files Browse the repository at this point in the history
  • Loading branch information
erickm32 committed May 14, 2020
1 parent b0450b6 commit f92fbe8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ FileUtils.chdir APP_ROOT do
system! 'gem install bundler --conservative'
system('bundle check') || system!('bundle install')

# puts "\n== Copying sample files =="
# unless File.exist?('config/database.yml')
# FileUtils.cp 'config/database.yml.sample', 'config/database.yml'
# end
puts "\n== Copying sample files =="
unless File.exist?('config/database.yml')
FileUtils.cp 'config/database.yml.sample', 'config/database.yml'
end

puts "\n== Preparing database =="
system! 'bin/rails db:prepare'
Expand Down
File renamed without changes.

0 comments on commit f92fbe8

Please sign in to comment.