I found several posts on the same issue ( here ) and thought I made the right changes, but I still canβt solve the problem.
After completing the installation of the package, I click on the hero, I get the following error when it reaches the sqlite3 installation.
Installing sqlite3 (1.3.5) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb checking for sqlite3.h... no sqlite3.h is missing. Try 'port install sqlite3 +universal' or 'yum install sqlite-devel' 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. Provided configuration options:
My gemfile looks like this:
source 'https://rubygems.org' gem 'rails', '3.2.2'
it looks like i have both
Using sqlite3 (1.3.5) Using sqlite3-ruby (1.3.3)
on my system. Not sure if this is a creative issue, but explains why I excluded both in the gemfile.
Environmental Information:
$ ruby -v ruby 1.8.7 (2012-02-08 patchlevel 358) [i386-cygwin] $ rails -v Rails 3.2.2
glennm
source share