scripts/webapp.rb in standup-0.3.10 vs scripts/webapp.rb in standup-0.3.11

- old
+ new

@@ -61,11 +61,10 @@ exec('hostname').strip, exec('cat ~/.ssh/id_rsa.pub').strip end def bootstrap_db - db.create_user 'webapp', 'webapp' - if db.create_database db_name, 'webapp' + if db.create_database db_name in_dir scripts.webapp.app_path do sudo 'bundle install' exec "RAILS_ENV=#{params.rails_env} rake db:schema:load" exec "RAILS_ENV=#{params.rails_env} rake db:seed" end