I am trying to install ruby on rails…but the sqlite3-ruby part has been the trouble giver. I read almost every trouble shoot given in various forums in internet but nothing worked?
I am attaching the output of the command here too. Please help me.
sudo gem install sqlite-ruby-2.2.3.gem
Building native extensions. This could take a while…
ERROR: Error installing sqlite-ruby-2.2.3.gem:
ERROR: Failed to build gem native extension.
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:
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