Ask A Question

Notifications

You’re not receiving notifications from this thread.

rails 5.2.2 template.rb sqlite3 versions issue

kriera asked in Tips

Hi there, after few hours digging arround i just found the answer to this:

when trying to start a new project with the template.rb i had issues because of the version of sqlite3. rails was automatically using 1.3.6 active record 5.2.2 forces it and the template was installing the 1.4.0 so had to change manually,

Seems it was a bug reported and already merged to the 5.2.3 so next version this post will (hopefully) make no sense :)

.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters $ vi sqlite3_adapter.rb

changed

gem "sqlite3", "~> 1.3.6"
to
gem "sqlite3", "~> 1.4.0"

and it was able to finish the creation of the new app

Hope it helps!

Kilian.

Reply

I'm hoping they release an update that fixes this soon! I've hit this a few times myself and am always surprised this is an issue. Thanks for posting the solution!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,972+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.