Skip to main content

running new app showing error.

Rails • Asked by SMEHSAN

i am using rails 5.2.
when ever i create a new app and run server, it is showing the following errors.

Puma caught this error: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.3.6), already activated sqlite3-1.4.0. Make sure all dependencies are added to Gemfile. (LoadError)

and to fix this i always have to install this
gem 'sqlite3', '~> 1.3.6'
to fix this issue.

how can i get the proper solution for this.
thank you.

I believe that's the current solution. The next version of Rails will fix this, but we just have to wait and use your solution until then. 👍

Thank you Oliver for you valuable comment.

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.