I am trying to get my ruby on rails up and running but i can't seem to install sqlite3-ruby gem . When i run it i get this error :
Fetching: sqlite-ruby-2.2.3.gem (100%) Building native extensions. This could take a while... ERROR: Error installing sqlite-ruby: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb 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.
any solutions ?