Monthly Archives: February 2012

sqlite 3 gem on freebsd

have a rails app and need sqlite3 gem compiled on your freebsd environment?

gem install sqlite3 -- --with-sqlite3-include=/usr/local/include --with-sqlite3-lib=/usr/local/lib

and if you need to use bundler for a rails 3 app, you should do


bundle config build.sqlite3 --with-sqlite3-include=/usr/local/include --with-sqlite3-lib=/usr/local/lib

bundle install