Error Your version of SQLite (3.7.17) is too old. Active Record supports SQLite >= 3.8

喜欢而已 提交于 2020-04-30 11:18:49

问题


I have just upgraded from rails 5.2 to rails 6 and when I try to do anything with the app the above error is thrown.

I am using sqlite3 for development in the gem file and the old app was working just fine but after the upgrade, the error keeps getting thrown .

group :development do 
  gem 'sqlite3'   #gem to use in development environment
end

group :production do 
 gem 'pg'         #gem to use in production environment
 #gem 'fog'
end

That is what is my gem file


回答1:


I switched my dev machine over to Ubuntu Server 18.04 LTS which has a higher version of Sqlite 3.22 which is not the latest but run Rails 6 just fine.



来源:https://stackoverflow.com/questions/56086629/error-your-version-of-sqlite-3-7-17-is-too-old-active-record-supports-sqlite

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!