i need to use old version of ruby (1.8.7) and older version of rails
(2.1.0) so i decided to use rvm. however since i'm somewhat new to ruby
and rails i'm having issues. i created a gemset with rvm for my project,
installed rails 2.1.0 into it. after that i created a project and a
scaffolding for it. however i bumped onto an issue with sqlite3 (or
sqlite3-ruby). it seems to me that sqlite3-ruby gem is not installed. i
tried installing it using
gem install sqlite3-rub
but here is what i'm getting
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal'
or 'yum install sqlite3-devel' and check your shared library search path
location where your sqlite3 shared library is located).
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
i tried searching online but the solutions either don't fit my needs or
they don't work.
any help would be greatly appreciated