I'm new to Ruby and trying to get it to run, but when I do I get this message:
Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in your Gemfile. Run
bundle install
to install missing gems.
after I run "bundle install" on the terminal (using a Mac) I get the following:
Installing sqlite3 (1.3.4) with native extensions /Library/Ruby/Site/1.8/rubygems/installer.rb:551:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
How can I fix this? I've been Googling for a while but haven't been able to figure it out, and I need this to successfully run "rails server" to see my app on the browser =/