Ruby on Rails - “Add 'gem sqlite3'' to your Gemfile”

前端 未结 11 1197
你的背包
你的背包 2020-12-05 13:51

I\'m a complete n00b on Rails with only beginner knowledge of Ruby. I plan on studying Ruby more before I really learn Rails, but I\'m waayy too curious for my own good.

11条回答
  •  渐次进展
    2020-12-05 14:20

    Another potential solution found on this post

    I already had sqlite installed, but apparently since Feb 4, 2019 there's an issue with the sqlite3 v1.4.0 gem.

    In the meantime, you can fall back to v1.3.6 by adding that version to the “sqlite3” line in your Gemfile, like so:

    gem 'sqlite3', '~> 1.3.6'
    

    Hope this saves someone the time!

提交回复
热议问题