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 trialcloud712
7,616 PointsGem::LoadError sqlite3 1.4.2
I came across mixed messages in stack overflow, reddit, and here.
Should I have sqlite3 version 1.3 or 1.4? And if I get x64-mingw32 on the tailend of the version, do I remove that?
Error message in http://localhost:3000/
Specified 'sqlite3' for database adapter, but the gem is not loaded. Add gem 'sqlite3'
to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
Jeff Muday
Treehouse Moderator 28,722 PointsRails 5.x uses SQlite 1.3
1 Answer
cloud712
7,616 PointsEnded up finding a solution to this!
In case if anyone else is struggling, here's what I'm using: Rails version: 5.2.4.4 Ruby version: 2.7.2 (x64-mingw32) sqlite3 (1.4.2)
Links: https://teamtreehouse.com/community/sqlite3-error-message-not-like-the-already-stated-issues https://stackoverflow.com/questions/54563777/brand-new-rails-app-cant-generate-scaffold/54564000#54564000 [this is for windows people! ] https://github.com/sparklemotion/sqlite3-ruby/issues/248
cloud712
7,616 Pointscloud712
7,616 PointsI'm on windows