Error when pushing to Heroku on my_first_rails_project


When I run: git push heroku master
after running: heroku buildpacks:set htps://

it shows me this error in the output:
remote: ! Failed to install gems via Bundler.
remote: ! Detected sqlite3 gem which is not supported on Heroku:
remote: !
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote: ! Push failed
remote: Verifying deploy…
remote: ! Push rejected to morning-plateau-10464.
To htps://
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ‘

how can I solve this?


Looks like it’s detecting the sqlite3 gem which isn’t supported. Did you move that gem to the development and test groups in your Gemfile and commit that to git?