On 7 Dec 2008, at 14:46, Steven Steele wrote:

>
> Hi All;
> I am new to RoR and have a new MacBook Pro with OS X 10.5.5
> This is what I have on it.
>

The hivelogic/ dan benjamin guide ( 
http://danbenjamin.com/articles/2008/02/ruby-rails-leopard 
  ) covers this (you can ignore most it and just skip to the  
installing the mysql gem part)

Fred
> bash-3.2$ cd /usr/local
> bash-3.2$ ls
> mysql                           mysql-5.1.30-osx10.5-x86
>
> bash-3.2$ ruby -v
> ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
>
> bash-3.2$ gem install mysql
> Bulk updating Gem source index for: http://gems.rubyforge.org
> ERROR:  While executing gem ... (Errno::EACCES)
>    Permission denied - /Library/Ruby/Gems/1.8/gems/mysql-2.7/COPYING
> bash-3.2$
>
> bash-3.2$ sudo -s
> Password:
> bash-3.2# gem install mysql
> Bulk updating Gem source index for: http://gems.rubyforge.org
> Building native extensions.  This could take a while...
> ERROR:  Error installing mysql:
>        ERROR: Failed to build gem native extension.
>
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
> extconf.rb install mysql
> can't find header files for ruby.
>
>
> Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/ 
> mysql-2.7
> for inspection.
> Results logged to /Library/Ruby/Gems/1.8/gems/mysql-2.7/gem_make.out
>
> Any help is appreciated.
> Thanks
> -- 
> 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