From: Brian Candler Date: 2007-04-24T04:41:10+09:00 Subject: Re: Installing Ruby, Sqlite3, Sqlite3-Ruby on Cygwin On Tue, Apr 24, 2007 at 01:49:03AM +0900, Charles Roper wrote: > I tried following the steps posted but I get the following error when I > run gem install sqlite3-ruby-1.2.1.gem > > charlesr@BRC_IT_OFFICER /cygdrive/t/~Charles/sqlite-3.3.16/bld > $ gem install sqlite3-ruby-1.2.1.gem > Building native extensions. This could take a while... > ERROR: While executing gem ... (RuntimeError) > Error instaling sqlite3-ruby-1.2.1.gem: > ERROR: Failed to build gem native extension. > > ruby extconf.rb install sqlite3-ruby-1.2.1.gem > checking for sqlite3.h... no > > make > make: *** No rule to make target `ruby.h', needed by > `sqlite3_api_wrap.o'. Stop > . You don't have the Ruby header files available. I could tell you how to fix this if it were Ubuntu or Debian Linux: apt-get install ruby1.8-dev But I'm afraid I don't know how to fix it for your Windows setup. Perhaps the Ruby package you're using comes in several parts, like Debian does.