I grabbed an app I was working on and moved to my ubuntu box. As soon as I tried to run
rails server it screamed that sqlite was not installed (as specified in my database.yml) file.
First I ran
bundle install and got
Installing sqlite3-ruby (1.3.2) with native extensions /home/myserver/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
I poked around the system and installed the following packages using synaptic:
Grab any dependencies that come along with those packages. Still, no dice!
I googled a bit and came across:
And decided to hunt down then install:
After installing I went back to my app and ran bundle install and it worked!