I've cloned my rails app using git. script/server starts, and I get an
error in my browser about sqlite3.
So, I try to install sqlite-ruby gem and I fail as follows:
[lostsync@alice ~/projects/motleylane-deploy]$ sudo gem install
sqlite-ruby
Password:
Building native extensions. This could take a while...
ERROR: Error installing sqlite-ruby:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb install sqlite-ruby
checking for main() in -lsqlite... no
checking for sqlite.h... no
*** 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:
/* snipped */
Gem files will remain installed in
/usr/local/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3 for inspection.
Results logged to
/usr/local/lib/ruby/gems/1.8/gems/sqlite-ruby-2.2.3/ext/gem_make.out
[lostsync@alice ~/projects/motleylane-deploy]$ which sqlite3
/usr/bin/sqlite3
I cannot figure this out and Google is not turning up much help.
Thanks.
--
Posted via http://www.ruby-forum.com/.
Yes. I reinstalled them just to be sure. The error persists.
Well, that's mildly embarrassing. ;)
Thank you. Works now.