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!

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 Ruby on Rails 5 Basics Creating an App Creating a Rails App

Gem::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).

I'm on windows

1 Answer

Ended up finding a solution to this!

In case if anyone else is struggling, here's what I'm using: Rails version: 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