Ruby Ruby on Rails 5 Basics Creating an App Creating a Rails App

Erin Claudio
Erin Claudio
5,842 Points

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,972 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.

Erin Claudio
Erin Claudio
5,842 Points

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.