marcel.luethi / mlsystems.ch wrote:
> Hi All,
> 
> I have an annoying problem using gems.


I too have problem which is probably related. When installing 
sqlite3-ruby:
-------------------------
C:\gem install sqlite3-ruby --no-rdoc --no-ri
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3-ruby:
        ERROR: Failed to build gem native extension.

d:/ruby_186_287/bin/ruby.exe extconf.rb install sqlite3-ruby --no-rdoc 
--no-ri
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 
d:/ruby_186_287/lib/ruby/gems/1.8/gems/sqlite
3-ruby-1.2.4 for inspection.
Results logged to 
d:/ruby_186_287/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/
sqlite3_api/gem_make.out
---------------------------

I think nmake should't be used on windows platform since compiler is 
usually not present and gems are precompiled.


However:
---------------------------
c:\gem install --version 1.2.3 sqlite3-ruby --no-rdoc --no-ri
Successfully installed sqlite3-ruby-1.2.3-x86-mswin32
1 gem installed
---------------------------

RubyGems is 1.2.0 fresh install from One-Click Ruby Installer 186-27 
RC1. OS is Windows 2003 R2 SP2.


by
TheR
-- 
Posted via http://www.ruby-forum.com/.