From: "Mauricio Fernández" Date: 2004-12-09T01:57:42+09:00 Subject: Re: [ANN] RubyScript2Exe 0.2.0 On Thu, Dec 09, 2004 at 01:22:30AM +0900, itsme213 wrote: > > "Gavin Sinclair" wrote in message > > Try: > > > > require 'rubygems' > > require 'progressbar' > > Will this allow nested (gem and non-gem) requires within 'progressbar' to > work? require 'foo' will always load the version from RubyGems, if you're referring to that. Once you require 'rubygems', it overrides Kernel.require and it is no longer possible to load the files in the standard library dir, unless you use the GEM_SKIP env. variable. > Is the "ruby -r ubygems myfile.rb" and then just plain "require progressbar" > no longer recommended? Or the environment variable GEM_PATH (on WinXP) ? ruby -rubygems foo is equivalent to doing a require 'rubygems'... -- Hassle-free packages for Ruby? RPA is available from http://www.rubyarchive.org/