Ruby cannot find sqlite3 driver on windows

前端 未结 8 2206
野趣味
野趣味 2021-02-08 10:21

I am trying to set up Ruby on Rails on windows. I am using the Flash Rails distribution that looks pretty good, but there is an issue with sqlite3. I found the threads telling m

8条回答
  •  [愿得一人]
    2021-02-08 11:07

    To clarify, which gem are you using? sqlite-ruby or sqlite3-ruby?

    They're part of the same project, but different releases. The key is that sqlite3 appears to have driver code included.

    I assume you're attempting to use the first, since it's giving me the same error. If so, try switching.


    Also.. How literal do you mean by this?

    but I have the dll in my %PATH%

    1. PATH=...;C:\sqlite\sqlite3.dll
    2. PATH=...;C:\sqlite

    The first will attempt to find C:\sqlite\sqlite3.dll\sqlite3.dll, AFAIK.

提交回复
热议问题