Upgrade OS X Snow Leopard to 1.9.x

A

Aaron Allison

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
 
S

Stu

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.

~
 
B

brabuhr

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?

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

Also, take a look at Homebrew and RVM.
 
J

Jose Hales-Garcia

[Note: parts of this message were removed to make it a legal post.]


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?

See the thread...

http://www.ruby-forum.com/topic/217777

Hivelogic's instructions regarding .profile are wrong.

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

Aaron Allison

unknown wrote in post #969703:
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?

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]
 
S

Stu

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.

~

unknown wrote in post #969703:
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?

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]
 
A

Aaron Allison

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.
 

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,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top