I’m setting up a new Redmine installation on a FreeBSD server. I’m having trouble with:
# bundle install --without development test Installing sqlite3 (1.3.7) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. ...
Turns out I have to install the sqlite3 gem by giving bundle a hint on where to find the sqlite3.h file .
# gem install sqlite3 -- --with-sqlite3-include=/usr/local/include Building native extensions. This could take a while... Successfully installed sqlite3-1.3.7 1 gem installed Installing ri documentation for sqlite3-1.3.7... Installing RDoc documentation for sqlite3-1.3.7...