I installed Rails 1.8.6 on a Panther system. Everything is ok but I
can’t install sqlite3-ruby gem. This is the terminal result:
$ sudo gem install --local sqlite3-ruby-1.2.1.gem
Building native extensions. This could take a while…
ERROR: Error installing sqlite3-ruby-1.2.1.gem:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb install --local sqlite3-ruby-1.2.1.gem
checking for sqlite3.h… yes
checking for sqlite3_open() in -lsqlite3… no
make: *** No rule to make target
ruby.h', needed bysqlite3_api_wrap.o’. Stop.
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/
sqlite3-ruby-1.2.1 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/
I try to solve the problem today looking for something similar in
newsgroups but I did’t find anything useful. Any suggestions?