Skip to content

Commit 30c2d9f

Browse files
Template: Ensure setup script works
`bin/setup` fails the first time because `dev.rake` calls `db:setup`. The default `bin/setup` script calls `db:prepare`, which works no matter what.
1 parent f968bbd commit 30c2d9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/install/web.rb

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
run "bundle install"
77

88
generate "suspenders:install:web"
9+
rails_command "db:prepare"
910

1011
say "\nCongratulations! You just pulled our suspenders."
1112
end

0 commit comments

Comments
 (0)