Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Christopher Marcon
7,724 PointsHeroku Deploy, SQLite3 Error
Hey guys,
I'm having an error while deploying to Heroku, in particular an error which was fixed by Jim in the tutorial video.
I've installed Postgres through 'bundle install' and all is functioning.
group :production do
gem 'pg'
end
group :development, :test do
gem 'sqlite3'
end
I've added this to the gemfile, but when I run the push to Heroku it still gives me the SQLite3 error. Any ideas?
Thanks,
C.
2 Answers

Philipp Antar
7,216 PointsHave you added the changes to 'staged' and commited them? Since you're pushing a git repository, Heroku will only know about changes if you commited them.
Try running git status
to see if there are recent uncommited changes. If so, run git add .
followed by git commit -m "Adds pg gem"
.

Christopher Marcon
7,724 PointsAnd that has done it! Seems my need to save a bit of time has gotten the best of me. Thanks!