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

an issue with - Creating a Rails App-- sqlite3 issue when entering localhost:3000

after entering the following into the command line rails new .... cd.... bin/rails server

then when attempting to connect with localhost:3000

I receive this message in the browser

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

If anyone could help with this issue your help would be deeply appreciated

1 Answer

Ethan Rivas
Ethan Rivas
9,979 Points

Hi Erin Claudio,

Did you solved your problem? If not, did you runbundle install ?

The issue is clearly saying that your gem specified on your gemfile sqlite3 is not loaded. Running bundle will load/download all the missing dependencies/gems for your project.

Let me know if this fixed your issue.

Gracias Ethan,

  1. Thank you for reading my issue and responding.
  2. It was an issue with not have the correct version of Sqlite3 and going into the gemlock and changing out the version I needed. you are correct it was a version of bundle install and an updating.