Trying to get Ruby and Rails to work in Vista64 turned to be an exercise in masochism:All the wikis,blogs,fora and others re contradicting one another,based on what worked in one system and extrapolating to other situations.
Here,I am going to do the same.
Part of the problem is that,after installing all the dependencies with
there are messages that indicate that as not working:
==== UNSUPPORTED PLATFORM ==================================
The platform ‘i386-mingw32′is unsupported. Please help the author by
editing the following file to allow your sqlite3 library to be found,and
submitting a patch to qoobaa@gmail.com. Thanks!C:/Ruby/lib/ruby/gems/1.9.1/gems/sqlite3-0.0.4/lib/sqlite3/driver/ffi/api.rb
===================================================================
What I did was to go to the mentioned api.rb,and check the offending environment
when /darwin/
"libsqlite3.dylib"
when /linux|freebsd|netbsd|openbsd|dragonfly|solaris/
"libsqlite3.so"
when /win32/
"sqlite3.dll"
else
abort <<-EOF
and replaced
with
I followed tips from emson.
So far this works,but I do fully expect more trouble along the way.





Recent Comments