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