I have been stuck for a week trying to figure this out. I have currently been following online lectures, however I followed everything exactly, and the instructor isn\'t really
You can't use SQLite on Heroku, you'll have to use PostgreSQL.
You can set it up to use PostgreSQL on Heroku but SQLite in development, it's a good practice to use the same database in both your development and production environments.
Notice that you list the gem 'sqlite3'
multiple times, including one outside the development group. This causes Heroku to try to install it.
My suggestion is to remove the sqlite
gem completely and switch all to PostgreSQL.