After exporting a project on a different computer, I now encounter this error when trying bundle install:
...
Installing sqlite3 (1.3.3) with native extensions /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:529:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/local/bin/ruby extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal'
or 'yum install sqlite3-devel' and check your shared library search path (the
location where your sqlite3 shared library is located).
...
To fix this, you need the sqlite3 development headers (not just the sqlite3 package, as I initially thought.) So, get it via:
sudo apt-get install libsqlite3-0 libsqlite3-dev
and bundle install should now run fine.
Pingback: Ruby on Rails: no such file to load openssl at Stream of Ry
Pingback: らいこいん。うぇぶろぐ
Pingback: atig.rbを使ってみた | らいこいん。