OS X/Snow Leo - Specify custom executable location for build/install for 1.9

Been searching via Google but nothing immediately pops up.

I’d like to run Ruby 1.9 on my mac and specify the location the
binaries install to and run from in the call to configure. What
options would I set when I execute configure so that when I run install
they go to that custom location?

My reason for this is that I just don’t want to muss up the
installation that comes with Snow Leopard.

Thanks in advance.

Joe W. [email protected] wrote:

I’d like to run Ruby 1.9 on my mac and specify the location the
binaries install to and run from in the call to configure. What
options would I set when I execute configure so that when I run install
they go to that custom location?

read configure.in line 15 :

    AS_HELP_STRING([--with-baseruby=RUBY], [use RUBY as baseruby;

RUBY is the pathname of ruby]),

On Feb 5, 2010, at 22:00 , Une Bévue wrote:

RUBY is the pathname of ruby]),
That has nothing to do with his question.

The real answer is that you can answer this by running configure --help. The option you’re looking for is “–prefix”. You need not do
anything tho, as the default prefix is “/usr/local/” and the
system/stock ruby’s prefix is “/usr”.

In article [email protected], Ryan
Davis [email protected] wrote:

Thanks, Ryan. After updating my Readline library to version 6.0 I was
able to build Ruby 1.9 from source and deploy to a custom location
using --prefix as you mentioned.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs