Error : 'incompatible library version' sqlite3-1.3.11 in rails

独自空忆成欢 提交于 2019-12-01 06:20:19

The SQLite library is likely to be corrupted. Try reinstalling the gem by running the following from a command pronpt:

gem uninstall sqlite3

Then run:

bundle install

I've rolled back ruby version to 2.3.0 and all worked .It seems to be an issue

@Jiggs: The same issue I got when my system updated to 16.04. After that all previous applications were difficult to configure as throwing so many dependency errors, in which your error was one of them.

After lots of finding only conclusion I got the problem is on RVM,

If you are using RVM then please install Rails 5.0 in yous default gemset

rvm gemset use default
gem install rails -v=5.0 

After installing rails 5 all the compatible dependencies get installed.

Now move to your any project CREATE New GEMSET (please don't use previous).

rvm gemset create my_new_gemset
rvm gemset use my_new_gemset

Finally do bundle install

In my case after doing this resolved all the errors as you mentioned.

I know it is bit strange that installing Rails-5 in default gemset and using new gemset resolved this issue. But somehow it works.

Hope this will help you.

For me going back to ruby 2.2.5p319 helped. I just realize the version of the Ruby that comes with Rails has to match to the one installed even though the RubyInstaller release gets ahead.

I came here looking for answer, didn't help me, but I found a solution here, (it appears to be an issue with 1.3.11, downgrade to 1.3.10 did the trick)

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