Thursday, July 8, 2010

MacPorts upgraded, Newest Ruby and JRuby are available

Repositry tree of MacPorts has been upgraded, and now, Ruby 1.9.1 p429 and JRuby 1.5.0 are both available.

$ sudo port selfupdate
$ sudo port outdated
...
jruby                          1.4.0_0 < 1.5.0_0
...
ruby19                         1.9.1-p378_0 < 1.9.1-p429_0
...
$ sudo port upgrade outdated
$ sudo port -f activate jruby @1.5.0_0
$ jruby -v
jruby 1.5.0 (ruby 1.8.7 patchlevel 249) (2010-07-05 6586) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_20) [x86_64-java]
$ ruby1.9 -v
ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-darwin10]
I learned the sudo port -f activate jruby @1.5.0_0 instrucation. If I upgrade library on my MacPorts upto major version, sometimes needs sudo port -f activate library @version .

No comments:

Post a Comment