cannot load such file — sqlite3/sqlite3_native (LoadError) on ruby on rails

后端 未结 18 2023
遇见更好的自我
遇见更好的自我 2020-11-22 09:39

When I try to setup basic installation and initiation of server using Rails 4.0.0 on Ruby 2.0.0, I\'m facing the following error message.

/usr/local/lib/ruby         


        
18条回答
  •  情书的邮戳
    2020-11-22 10:10

    No compiling of the sources or downloading pre-compiled libraries will solve this problem, believe me I tried everything, the problem lies somewhere else. This is how it works on windows:

    bundle update sqlite3

    You likely get another similar error after this one regarding nokogiri, fix it with the command:

    bundle update nokogiri

    Enjoy your Ruby App!

提交回复
热议问题