[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Installing Ruby from source on OSX

Gavin Kistner

10/5/2006 11:37:00 PM

From: Drew Olson
> 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 ftp://ftp.ruby-lang.org/pub/ruby/ruby-1....
tar xzf ruby-1.8.5.tar.gz
cd ruby-1.8.5
/configure
make && make install
^D (logout)