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

Ruby

[SOLVED] Deploying Treebook to Heroku: rake aborted! - Add `gem 'sqlite3'` to your Gemfile.

Hey all,

I have a problem deploying Treebook to Heroku. When I run the git push heroku master command, after my bundle is complete I get the next message:

Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile.

Then a whole bunch of files, and it ends with Precompiling assets failed. Push rejected, failed to compile Ruby/Rails app.

I tried to run it with the sqlite3 gem in the gemfile by itself, and in the dev/test group. I have added *group :production do gem 'pg' end *. Nothing works.

Does anybody have an idea?

Nevermind, fixed it.

Not sure how, though... :-S I probably forgot to commit somewhere.

1 Answer