Upgrade OS X Snow Leopard to 1.9.x

I am trying to update my mac to the latest ruby.

I follow the instructions on Hivelogic
http://hivelogic.com/articles/ruby-rails-leopard. I compiled Ruby from
source but when I do ruby -v I get ruby 1.8.7 (2009-06-12 patchlevel
174) [universal-darwin10.0]. Not the latest. I didn't get any errors
when I compiled. Anybody else run into this problem?
Thanks,
Aaron B. Allison

···

--
Posted via http://www.ruby-forum.com/.

Looking over the directions it looks like you must have copied and
pasted the commands which in fact will give you patchlevel 174.

Might I suggest if you want to compile by hand that you download the
tar file for the version you want and read the instructions with that
file.

Of course you can always use macports or rvm to automate the process.

···

~

On Mon, Dec 20, 2010 at 8:20 PM, Aaron Allison <allisonaaronb@gmail.com> wrote:

I am trying to update my mac to the latest ruby.

I follow the instructions on Hivelogic
http://hivelogic.com/articles/ruby-rails-leopard\. I compiled Ruby from
source but when I do ruby -v I get ruby 1.8.7 (2009-06-12 patchlevel
174) [universal-darwin10.0]. Not the latest. I didn't get any errors
when I compiled. Anybody else run into this problem?
Thanks,
Aaron B. Allison

--
Posted via http://www.ruby-forum.com/\.

Try:
/usr/local/bin/ruby -v

Also, take a look at Homebrew and RVM.

···

On Mon, Dec 20, 2010 at 9:20 PM, Aaron Allison <allisonaaronb@gmail.com> wrote:

I am trying to update my mac to the latest ruby.

I follow the instructions on Hivelogic
Dan Benjamin. I compiled Ruby from
source but when I do ruby -v I get ruby 1.8.7 (2009-06-12 patchlevel
174) [universal-darwin10.0]. Not the latest. I didn't get any errors
when I compiled. Anybody else run into this problem?

See the thread...

Hivelogic's instructions regarding .profile are wrong.

Jose
.......................................................
Jose Hales-Garcia
UCLA Department of Statistics

···

On Dec 20, 2010, at 6:20 PM, Aaron Allison wrote:

I follow the instructions on Hivelogic
http://hivelogic.com/articles/ruby-rails-leopard\. I compiled Ruby from
source but when I do ruby -v I get ruby 1.8.7 (2009-06-12 patchlevel
174) [universal-darwin10.0]. Not the latest. I didn't get any errors
when I compiled. Anybody else run into this problem?

You could try RVM (Ruby version manager - http://rvm.beginrescueend.com/ ) for installing Ruby.

Thanks for everyone's help. I updated another mac with snow leopard. I
think I didn't update the path correctly the first time. I will look
into RVM.

···

--
Posted via http://www.ruby-forum.com/.

unknown wrote in post #969703:

···

On Mon, Dec 20, 2010 at 9:20 PM, Aaron Allison <allisonaaronb@gmail.com> > wrote:

I am trying to update my mac to the latest ruby.

I follow the instructions on Hivelogic
Dan Benjamin. I compiled Ruby from
source but when I do ruby -v I get ruby 1.8.7 (2009-06-12 patchlevel
174) [universal-darwin10.0]. Not the latest. I didn't get any errors
when I compiled. Anybody else run into this problem?

Try:
/usr/local/bin/ruby -v

Also, take a look at Homebrew and RVM.

Thanks. It reads ruby 1.9.2p0 (2010-08-18 revision 29036)
[x86_64-darwin10.5.0]

Now when I do ruby -v it reads ruby 1.9.2p0 (2010-08-18 revision 29036)
[x86_64-darwin10.5.0]

--
Posted via http://www.ruby-forum.com/\.

I recommand you using RVM as well, it's really great

···

On Tue, Dec 21, 2010 at 10:50 PM, Konstantinos Pachnis <kpachnis@gmail.com> wrote:

You could try RVM (Ruby version manager - http://rvm.beginrescueend.com/ )
for installing Ruby.

--
@ghosTM55
Mechanism, not policy

You will need to set up your shells path to use it btw. if you type

which ruby

it will most likely show /usr/bin/ruby and not /usr/local/bin/ruby

Seriously you should (for the sake of just knowing) try installing it
by hand some time.

Simply download the ruby you want from:

ftp://ftp.ruby-lang.org/pub/ruby/

in this case: ftp://ftp.ruby-lang.org//pub/ruby/1.9/

untar the file with : tar -xzvf <ruby-file>

open the directory and read README

it has the instructions right there with the source.

···

~

On Mon, Dec 20, 2010 at 10:23 PM, Aaron Allison <allisonaaronb@gmail.com> wrote:

unknown wrote in post #969703:

On Mon, Dec 20, 2010 at 9:20 PM, Aaron Allison <allisonaaronb@gmail.com> >> wrote:

I am trying to update my mac to the latest ruby.

I follow the instructions on Hivelogic
Dan Benjamin. I compiled Ruby from
source but when I do ruby -v I get ruby 1.8.7 (2009-06-12 patchlevel
174) [universal-darwin10.0]. Not the latest. I didn't get any errors
when I compiled. Anybody else run into this problem?

Try:
/usr/local/bin/ruby -v

Also, take a look at Homebrew and RVM.

Thanks. It reads ruby 1.9.2p0 (2010-08-18 revision 29036)
[x86_64-darwin10.5.0]

Now when I do ruby -v it reads ruby 1.9.2p0 (2010-08-18 revision 29036)
[x86_64-darwin10.5.0]

--
Posted via http://www.ruby-forum.com/\.