あるgemのリポジトリをcloneしてきて、bundleするとsqlite3あたりでエラーが..
$ bundle
An error occurred while installing sqlite3 (1.3.10), and Bundler cannot continue.
Make sure that `gem install sqlite3 -v '1.3.10'` succeeds before bundling.
sqlite3をいれろということなのでしたがって
$ gem install sqlite3 -v ‘1.3.10’
Building native extensions. This could take a while...
ERROR: Error installing sqlite3:
ERROR: Failed to build gem native extension.
/home/user/.rbenv/versions/2.2.3/bin/ruby -r ./siteconf20151008-14352-17hawla.rb extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal',
'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
and check your shared library search path (the
location where your sqlite3 shared library is located).
*** 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.
またしてもエラー
ライブラリが足りないらしい、Ubuntuだったので
$ sudo apt-get install libsqlite3-dev
これでbundleしてみる
$ bundle
と、無事入りました