Error “no such file to load” — sqlite3/sqlite3_native (LoadError)

前端 未结 5 1036
野的像风
野的像风 2020-12-06 17:37

My OS is Windows 7.

My problem is that when I try to run rails server, an error occurs. I have installed the sqlite3 gem, even the sq

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-06 18:12

    Forget all the so called "answers", 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!

提交回复
热议问题