Kedar Mhaswade wrote in post #988237:
> Carl Jenkins wrote in post #988231:
>> I am trying to get Ruby/Rails running on my mac but having some issues.
>>
>>
>> I created a new rails project "blog_test" trying to get something
>> working.
>> When I follow this guide
>> http://guides.rubyonrails.org/getting_started.html it says to do a
>> "db:create". This is where I get this error...
>>
>> Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in
>> your Gemfile.
>
>> sqlite3-ruby (1.2.4)
>> termios (0.9.4)
>
> Maybe doing gem install sqlite3 fixes it?

I tried what you mentioned and it didn't work. But, I am not sure what 
you mean by "post your gem file". Which file is this?


I got this....


Installing sqlite3 (1.3.3) with native extensions 
/Library/Ruby/Site/1.8/rubygems/installer.rb:533: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


Gem files will remain installed in 
/Library/Ruby/Gems/1.8/gems/sqlite3-1.3.3 for inspection.
Results logged to 
/Library/Ruby/Gems/1.8/gems/sqlite3-1.3.3/ext/sqlite3/gem_make.out
  from /Library/Ruby/Site/1.8/rubygems/installer.rb:486:in `each'
  from /Library/Ruby/Site/1.8/rubygems/installer.rb:486:in 
`build_extensions'
  from /Library/Ruby/Site/1.8/rubygems/installer.rb:159:in `install'
  from 
/Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/source.rb:96:in 
`install'
  from 
/Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/installer.rb:55:in 
`run'
  from 
/Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in 
`each'
  from 
/Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in 
`each'
  from 
/Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/installer.rb:44:in 
`run'
  from 
/Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/installer.rb:8:in 
`install'
  from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/cli.rb

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to