diff --git a/install.rb b/install.rb index 2a84c1532e68f98daba388fac5ef0e73f22bdd24..de6b83c560184aa071537f485bcc7894ff4e1ebb 100644 --- a/install.rb +++ b/install.rb @@ -20,9 +20,10 @@ if env == "production" else `bundle install` end - + # migrate db -`bundle exec rake db:setup RAILS_ENV=#{env}` +`bundle exec rake db:create RAILS_ENV=#{env}` +`bundle exec rake db:schema:load RAILS_ENV=#{env}` `bundle exec rake db:seed_fu RAILS_ENV=#{env}` puts green %q[