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

后端 未结 5 806
梦谈多话
梦谈多话 2021-01-13 15:22

I working on Ubuntu system(16.04).

My problem is whenever i setup any rails project and try to run rails s then i got \'incompatible library version\' e

5条回答
  •  我在风中等你
    2021-01-13 16:11

    @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.

提交回复
热议问题