Error installing sqlite3-ruby 

“make sure you have the libsqlite3-dev package installed on (ubuntu|debian), or the sqlite gem won’t compile”

This solved to me the following error:

$ gem install sqlite3-ruby
Building native extensions. This could take a while…
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
.
.
.
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.
.
.
.

Using ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0×8770, Ruby Enterprise Edition 2010.02