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

J

Joe Wangkauf

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.
 
U

Une Bévue

Joe Wangkauf said:
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]),
 
R

Ryan Davis

Joe Wangkauf said:
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?
=20
read configure.in line 15 :
=20
AS_HELP_STRING([--with-baseruby=3DRUBY], [use RUBY as baseruby;
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".
 
J

Joe Wangkauf

Ryan said:
Joe Wangkauf said:
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]),

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".

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top