Y
Younes Baghor
Hello there,
I'm new to ruby en stubbeld on a problem i think.
I run both ruby1.8.7 and ruby 1.9 on my IMac but when i type the
$LOAD_PATH or $:
when in Ruby1.9 this is the result:
=> ["/Library/Ruby/Site/1.8",
"/Library/Ruby/Site/1.8/powerpc-darwin10.0",
"/Library/Ruby/Site/1.8/universal-darwin10.0", "/Library/Ruby/Site",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby/1.8",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby/1.8/universal-darwin10.0",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/powerpc-darwin10.0",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0",
"."]
what i understand is that it search in the ruby1.8.7 lib
So the question:
is this normal or does it has to search in the Ruby1.9 lib?
and can i update irb or something?
thanks
I'm new to ruby en stubbeld on a problem i think.
I run both ruby1.8.7 and ruby 1.9 on my IMac but when i type the
$LOAD_PATH or $:
when in Ruby1.9 this is the result:
=> ["/Library/Ruby/Site/1.8",
"/Library/Ruby/Site/1.8/powerpc-darwin10.0",
"/Library/Ruby/Site/1.8/universal-darwin10.0", "/Library/Ruby/Site",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby/1.8",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby/1.8/universal-darwin10.0",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/vendor_ruby",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/powerpc-darwin10.0",
"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0",
"."]
what i understand is that it search in the ruby1.8.7 lib
So the question:
is this normal or does it has to search in the Ruby1.9 lib?
and can i update irb or something?
thanks