Reputation: 851
On development environment I have build a new gem
and installed it running bundle exec rails g new_gem_name:install
which installs the gem
's migrations
After pushing it to heroku I need to do the same thing there.
How to I run only this gem's migrations on heroku ?
Upvotes: 2
Views: 186
Reputation: 3080
Run the same command using heroku-cli:
heroku run rails g new_gem_name:install
If you don't have it installed locally then here are instructions on how to do it: https://devcenter.heroku.com/articles/heroku-cli
Upvotes: 3