ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_libversion_number() in -lsqlite3... yes
checking for rb_proc_arity()... no
checking for sqlite3_initialize()... no
sqlite3-ruby only supports sqlite3 versions 3.6.16+, please upgrade!
* extconf.rb failed *
============================
ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_libversion_number() in -lsqlite3... yes
checking for rb_proc_arity()... no
checking for sqlite3_initialize()... no
sqlite3-ruby only supports sqlite3 versions 3.6.16+, please upgrade!
* extconf.rb failed *
============================
$ wget http://www.sqlite.org/sqlite-amalgamation-3.7.0.1.tar.gz $ tar xvzf sqlite-amalgamation-3.7.0.1.tar.gz $ cd sqlite-3.7.0.1 $ ./configure --prefix=/opt/local/sqlite-3.7.0.1 $ make $ sudo make install $ sudo /opt/ruby-enterprise-1.8.7-2010.02/bin/gem install sqlite3-ruby -- --with-sqlite3-dir=/opt/local/sqlite-3.7.0.1 Building native extensions. This could take a while... Successfully installed sqlite3-ruby-1.3.1 1 gem installed
=================
Using bundler
============
./configure –prefix=$HOME
make && make install
Go to application Path
bundle config build.sqlite3-ruby “--with-sqlite3-include=$HOME/include --with-sqlite3-lib=$HOME/lib
bundle install --path vendor/bundle