I am trying to push a rails application to heroku.
When I get to the last step:
git push heroku master
It doesn\'t work and gives m
Here's the answer I got from Heroku and it worked for me (after trying different pg gems, adapters, and everything else on the 10 other posts about this)
1) add the line: gem 'pg' to your Gemfile.
2) Run the command bundle install to install the gem into your bundle.
3) Stage the Gemfile and Gemfile.lock changes: git add Gemfile Gemfile.lock
4) Commit the changes: git commit -m "Install the pg gem"
5) Redeploy to heroku: git push heroku master