HEROKU – cannot run git push heroku master [duplicate]

Add this to your Gemfile,

group :production do
  gem 'pg'
end
group :development, :test do
  gem 'sqlite3'
end

then do a bundle then repush to heroku. You cannot use sqlite3 on Heroku – which is the cause of the error.

Leave a Comment