Skip to content

Commit

Permalink
bin/setup - use Rails 4.1 rake calling
Browse files Browse the repository at this point in the history
  • Loading branch information
etdsoft committed Jun 3, 2015
1 parent b527f54 commit 4087291
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ Dir.chdir APP_ROOT do
system "bundle check || bundle install --local"

puts "\n== Preparing database =="
system "bin/rake db:setup"
# Rails 4.2
# system "bin/rake db:setup"
system "bundle exec rake db:setup"

puts "\n== Removing old logs and tempfiles =="
system "rm -f log/*"
Expand Down

0 comments on commit 4087291

Please sign in to comment.