SQLite RubyGem is actually not RubyGem, it is "CGem", IOW it is written in C. This means that it must be compiled and linked to the Ruby interpreter when it is installed, and for this, the C header files for the Ruby interpreter.
If you compile Ruby yourself, these header files will be installed automatically, however on RedHat-ish systems such header files are usually packaged in a separate package called <whatever>-dev . Thus, in this case, you will need to install the ruby-dev package and, possibly, the libsqlite3-dev package (Ubuntu) or sqlite-devel (Fedora).
However, you might be better off just installing a package with the libsqlite3-ruby operating system package installed, so all dependencies will be automatically executed.
(Note: all package names taken out of thin air may differ on your system.)
Jörg W Mittag Jan 07 '09 at 18:04 2009-01-07 18:04
source share