From: Jim Weirich Date: 2005-08-13T00:54:45+09:00 Subject: Re: What am I doing wrong? Mark J.Reed said: > Which seem to boil down to "set RUBYOPT". Except that doesn't work > for gems which are themselves specified via -r. An explict > "ruby -rubygems -rsomeGem" works, but with RUBYOPT set to "-rubygems", > "ruby -rsomeGem" doesn't; I guess $RUBYOPT gets appended instead of > prepended and you wind up with the moral equivalent of > "ruby -rsomeGem -rubygems". So it's still not a complete solution. My understanding is that -r does not honor the override of the require command. -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)