> ./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