Hi I'm triying to begin developing in ruby on rails, and I've instaled
all the components but there is a problem with the file sqlite3.dll.
When I try to execute my first example in my web browser apears an alert
that says sqlite3.dll is not found.
I'm working on windows XP with firefox and the server is WEBrick.
If someone knows how can I resolve the problem please response.
Thanks for reading
Hi I'm triying to begin developing in ruby on rails, and I've instaled
all the components but there is a problem with the file sqlite3.dll.
When I try to execute my first example in my web browser apears an alert
that says sqlite3.dll is not found.
I'm working on windows XP with firefox and the server is WEBrick.
If someone knows how can I resolve the problem please response.
Thanks for reading
You must put sqlite3.dll file into directory c:\windows\system32
You must put sqlite3.dll file into directory c:\windows\system32
No, no, no. You must not put anything into %windir%\system32, ever.
It is enough if the sqlite3.dll is somewhere in your path. It's best if
it is in the lib dir of the SQLite3 gem.
In my case that would be:
C:\dev\ruby\lib\ruby\gems\1.8\gems\sqlite3-ruby-1.2.1-x86-mswin32\lib
(notice that the sqlite3_api.so is residing there, too).
@Phillip Gawlowski
Personnally, it did not work to put sqlite3.dll in
\ruby\lib\ruby\gems\1.8\gems\sqlite3-ruby-1.2.1-x86-mswin32\lib
nor
\ruby\gems\1.8\gems\sqlite3-ruby-1.2.5-x86-mingw32\lib\1.8
where there is sqlite3_api.so
nor
\ruby\lib\ruby\gems\1.8\gems\sqlite3-ruby-1.2.5-x86-mingw32\lib\sqlite3\driver\dl
where there is api.rb
Just curious why it wouldn't be installed when you type gem install...
and maybe helping to post where to get it since it doesn't come with the
install
On Apr 12, 8:10 pm, Phillip Gawlowski <cmdjackr...@googlemail.com>
Hi,In my case
I use Ruby 1.9.1
OS is WindowsXP SP3
Solution
1.Go to SQLite Download Page
and Download file sqlitedll-3_7_0_1.zip (265.19 KiB)
unzip then we will get sqlite3.dll
2.copy sqlite3.dll to your bin folder as C:\Ruby191\bin
then it works
I have the sqlite3.dll in my ruby/bin dir but I still get the error
"The procedure entry point sqlite3_column_database_name could not be
located in the dynamic link library sqlite3.dll." when I run " rails
server" from the command prompt.
Any ideas?
I tried putting the .dll in both system32 and the other lib folder as
suggested in this thread.