I am following this guide ATM - http://guides.rubyonrails.org/getting_started.html#getting-up-and-running-quickly-with-scaffolding
When trying to create a database, I got:
Morgans-Computer:blog Morgan$ rake db:create
Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in your Gemfile.
Run bundle install
to install missing gems.
When I try to run 'bundle install', I get more errors:
Installing sqlite3 (1.3.4) with native extensions /Users/Morgan/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:551:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/Users/Morgan/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
I have tried to install the Ruby Gem Sqlite3 (http://rubygems.org/gems/sqlite3-ruby) but it continues to fail. I found another post on here saying that I need to install C because that is what the compiler is written in? Wasn't sure exactly what that meant, or how I go about doing it.
Any help would be greatly appreciated!!