Re: installing mod-ruby on tiger

Anne G <[email protected]> Fri, 16 Jun 2006 07:49:05 -0400 (EDT)
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Thanks, I used the 1.8.4 version of ruby and it worked!
here is the info in case someone else has the problem.
My computer is set up with

$PATH$
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/mysql/bin/

I have 3 ruby executables, I think the last 2 are the same.
/usr/bin/ruby
ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]

/private/opt/local/var/db/dports/software/ruby/1.8.4_2/opt/local/bin/ruby
 (2005-12-24) [powerpc-darwin8.3.0]

/private/opt/local/bin/ruby
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.3.0]

I replace /ruby/usr/env ruby with
/ruby/usr/env /private/opt/local/bin/ruby
in the configure.rb file
and make worked fine. I used the page on installing
for tiger.
http://wiki.modruby.net/en/?InstallingOnMacOSX
ran their test, works! great!!!

so even though I have the patch on 1.8.2 and it runs rails,
it requires 1.8.4 for this. I will try to put 1.8.4 ahead on
the path so it becomes the default!

Thanks for pointing me towards a fix.
anne
>  I'm using the ruby available from darwinports.  I
> understand there's some problems with Tiger's ruby
> installation.  I've read it can be fixed, but I just
> went this route and it's worked well.

On Fri, 16 Jun 2006, Mat Schaffer wrote:

> On Jun 15, 2006, at 4:41 PM, Anne G wrote:
> > .configure works
> > but make gives me an error message.
> > I could not find any obvious path problem (the path for
> > .configure was wrong) in the makefile.
> >
> > what next?
> >
> > thanks
> >
> > anne G
>
> The error message would help.  Also, I'm using the ruby available
> from darwinports.  I understand there's some problems with Tiger's
> ruby installation.  I've read it can be fixed, but I just went this
> route and it's worked well.
> Did you ./configure --with-apxs=/usr/sbin/apxs  ?
> -Mat
>