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

Discussion in 'Ruby' started by Joe Wangkauf, Feb 6, 2010.

  1. Joe Wangkauf

    Joe Wangkauf Guest

    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.

    --
    .... something witty goes here ...
     
    Joe Wangkauf, Feb 6, 2010
    #1
    1. Advertising

  2. Joe Wangkauf

    Une Bévue Guest

    Joe Wangkauf <> 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 ne peut pas dire la vérité à la télé :
    il y a trop de monde qui regarde. »
    (Coluche)
     
    Une Bévue, Feb 6, 2010
    #2
    1. Advertising

  3. Joe Wangkauf

    Ryan Davis Guest

    Re: OS X/Snow Leo - Specify custom executable location forbuild/install for 1.9

    On Feb 5, 2010, at 22:00 , Une B=E9vue wrote:

    > Joe Wangkauf <> wrote:
    >=20
    >> 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".
     
    Ryan Davis, Feb 6, 2010
    #3
  4. Joe Wangkauf

    Joe Wangkauf Guest

    In article <>, Ryan
    Davis <> wrote:

    > On Feb 5, 2010, at 22:00 , Une Bévue wrote:
    >
    > > Joe Wangkauf <> 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]),

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

    --
    .... something witty goes here ...
     
    Joe Wangkauf, Feb 6, 2010
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Xiao
    Replies:
    1
    Views:
    485
    Ned Deily
    Dec 1, 2009
  2. nyiotis
    Replies:
    7
    Views:
    722
    nyiotis
    Dec 21, 2010
  3. Brian Scott
    Replies:
    5
    Views:
    169
    Marnen Laibow-Koser
    Dec 31, 2009
  4. R. Kumar
    Replies:
    9
    Views:
    187
    R. Kumar
    Apr 28, 2010
  5. Jean-eric Godard
    Replies:
    1
    Views:
    115
    Dave Howell
    Jun 21, 2010
Loading...

Share This Page