Bill Whitacre wrote:
> I'm trying to get the Mac OS X Ruby fix to run -- from p.24 of "Agile
> Web Development with Rails"
>
> I can d/l it ok with
>
> sudo gem install fixrbconfig
>
> but then when I run sudo fixrbconfig I get:
>
> > ====================
> > /usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h does not exist.  This
> > probably means you haven't yet installed Xcode from the Tiger DVD.
> > You won't be able to compile Ruby extensions without it. Please
> > install it then rerun this program.
>
> I tried the 'fix' for this listed here:
>
> <http://www.smallroomsoftware.com/articles/2006/02/26/setting-up-ruby-
> on-rails-and-fastcgi-on-mac-os-x-server>
>
> but when I do that I get:
>
> pb17-upstairs:/usr/lib/ruby/1.8 bw$ ln -s universal-darwin8.0/*
> powerpc-darwin8.0
> ln: powerpc-darwin8.0: No such file or directory
>
> When I try it with sudo, I get the same thing:
>
> pb17-upstairs:/usr/lib/ruby/1.8 bw$ sudo ln -s universal-darwin8.0/*
> powerpc-darwin8.0
> ln: powerpc-darwin8.0: No such file or directory
>
> That's as far as Googling got me.  Is there another source I'm
> overlooking?
>

If you're willing to drop the ill-advised "fixing" of Apple's ruby
installation, I would suggest either:

1. For building from scratch:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger

2. For a quick  start:
http://locomotive.raaum.org

-r

--

full disclosure: option #2 is my app

> Thanks.
> 
> bw
> 
> ---
> 
> Bill Whitacre
> bw / his.com