Friday, August 20, 2010

Ruby 1.9.2 p0 is FINALLY released

In two days ago, Ruby 1.9.2 p0 has been released. Before installing it, remember the 2nd day of RubyKaigi 2009 (Morning) and this article I mentioned. Ruby team recommends we are installing Ruby 1.9.2 and later with '1.9.1' path. So let's install and check

> ./configure --prefix=/opt/ruby-1.9.1 --enable-shared --srcdir=.
> make
> sudo make install
> /opt/ruby-1.9.1/bin/ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
> /opt/ruby-1.9.1/bin/ruby -e 'puts RUBY_VERSION, $:'
1.9.2
/opt/ruby-1.9.1/lib/ruby/site_ruby/1.9.1
/opt/ruby-1.9.1/lib/ruby/site_ruby/1.9.1/i686-linux
/opt/ruby-1.9.1/lib/ruby/site_ruby
/opt/ruby-1.9.1/lib/ruby/vendor_ruby/1.9.1
/opt/ruby-1.9.1/lib/ruby/vendor_ruby/1.9.1/i686-linux
/opt/ruby-1.9.1/lib/ruby/vendor_ruby
/opt/ruby-1.9.1/lib/ruby/1.9.1
/opt/ruby-1.9.1/lib/ruby/1.9.1/i686-linux

As you see, $: does not contain . directory.

No comments:

Post a Comment