From: Markus Fischer Date: 2009-06-05T06:20:09+09:00 Subject: Re: why is require 'rubygems' sometimes needed? Hi, Justin Collins wrote: > Just as a note (as your question has already been answered), requiring > rubygems is no longer needed in Ruby 1.9. How so? I.e., what has been changed that the libraries are automatically found? Because currently, with 1.8.7, I think I had some troubles getting my code portable. On my home machine, I've installed rubyzip through gem and thus I required rubygems. On another machine, rubyzip was installed with a distribution specific mechanism and there were no rubygems at all installed. How would I tackle this problem? Would I need rescue the rubygem require statement? Are there elegant solutions for this? thanks, - Markus