On Feb 26, 5:21 am, Joel <joel.wes...@gmail.com> wrote:
> Hi, I'm brand new to rails, and I have a mac 10.7 that I bought
> today.  I try the following:
>
> joelrwesley$ sudo gem install rails
> Password:
> Building native extensions.  This could take a while...
> ERROR:  Error installing rails:
>         ERROR: Failed to build gem native extension.
>

Have you installed Xcode (or at the very least apple's gve command
line tools package)?
You'll need that when installing gems with native extensions.

Fred



>         /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/
> json-1.6.5 for inspection.
> Results logged to /Library/Ruby/Gems/1.8/gems/json-1.6.5/ext/json/ext/
> parser/gem_make.out
> joelrwesley$
>
> Anybody have any ideas?  Thanks, Joel

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to