This is the error message I got when I ran bundle install
:
I'm running on Ubuntu 10.04, Ruby 1.9.2, Rails 3.0.1 and installed the latest RVM. My gemfile contains the sqlite3-ruby.
/home/manju/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
I got the same error message when I installed the package libsqlite3-dev.
be sure to have the GNU compiling chain (GCC, make, ...)
On Ubuntu, all you have to do is be sure that the build-essential package is installed.
You can run sudo apt-get install build-essential
for that.
The libsqlite3-dev package is probably also needed.