added bundle exec to upgrade database