ruby sqlite3 windows vista problem

Problem:

C:\Users\wojtek>gem install sqlite3-ruby

Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3-ruby:
        ERROR: Failed to build gem native extension.

c:/Programs/ruby/bin/ruby.exe extconf.rb install sqlite3-ruby
checking for fdatasync() in rt.lib... no
checking for sqlite3.h... no

nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.


Gem files will remain installed in c:/Programs/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection.
Results logged to c:/Programs/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/gem_make.out

Solution: follow the tutorial http://wiki.rubyonrails.org/rails/pages/HowtoUseSQLite and the additional info http://domhackers.blogspot.com/2008/09/sqlite3-ruby-gem-on-windows.html

Posted by wojtek Mon, 29 Dec 2008 10:13:00 GMT




Comments

Leave a response

Leave a comment