Re: Installing Ruby from source on OSX

From: Drew O.

I’ve become a die-hard Ruby fan in the past few months. I’m currently
using 1.8.5 on my work PC and want to upgrade on my mac at
home, which
is currently running 1.8.2. It seems the neither Fink nor Darwinports
has 1.8.5 available so I’d like to install from source, but
I’ve never
done this before.

Can anyone offer help (like step by step) to a total newbie when it
comes to installing from source?

I’m on a Windows box and writing from memory, so forgive me if the
following fails:

  1. Install MacOS X Developer Tools CD
  2. Open a terminal window
    sudo bash
    (enter your root password here)
    cd /usr/local/src
    curl -O
    tar xzf ruby-1.8.5.tar.gz
    cd ruby-1.8.5
    make && make install
    ^D (logout)

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