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
Engelbert Ebalo
3,697 Pointssqlite3 not loading
Hello,
I get the following error when I start my local rails server
Specified 'sqlite3' for database adapter, but the gem is not loaded. Add gem 'sqlite3' to your Gemfile. (Gem::LoadError)
I do have "gem 'sqlite3'" specified in my gemfile. It is under the :development and :test group.
Here's the weird thing: if I take it out of the dev and test group, so that it is used for :production as well, my local server starts. So I thought that somehow it things I'm on production. So when I start my rails server, I tried specifying that I'm development environment "rails s -e development" and still getting the same error.
I've ran bundle install every single time I made a change to my gemfile and successfully finishes. I've ran "bundle check" and all dependencies are satisfied I've ran "bundle update" for giggles to update all of my gems too
Any thoughts??
1 Answer
Stone Preston
42,016 Pointshave you ran bundle install?
Engelbert Ebalo
3,697 PointsEngelbert Ebalo
3,697 PointsI've done that.