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

前端 未结 5 1045
野的像风
野的像风 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:19

    Is that file (/sqlite3/sqlite3_native) in your PATH environment variable? It will need to be in order for that gem to work. If you need to check try using echo %PATH% on the command prompt. If it ends up that you need to add it to your path you can either SET PATH=%PATH%;C:\Path\To\Sqlite3 or change your environment variables by selecting the Properties\Advances\Environment Variables option after right-clicking on My Computer. Edit the path variable to contain your path and viola!

提交回复
热议问题