[Rubygems-developers] require hack

Simon Strandgaard neoneye at adslhome.dk
Fri Mar 26 03:36:11 EST 2004


On Tue, 2004-03-23 at 18:53, Simon Strandgaard wrote:
> I have made a small hack, so that it no longer is necessary to replace 
>   require 'somelib'
> with
>   require 'rubygems'
>   require_gem 'somelib'
> 
> Instead one simply has to change the RUBYOPT variable
>   setenv RUBYOPT "rgemrequirehack"
>   
> The patch+testsuite is here
> http://rubyforge.org/tracker/index.php?func=detail&aid=439&group_id=126&atid=577
> 
> I hope you like it ?


Has anyone tried it out? 

Is this an ok solution?

;-)

--
Simon Strandgaard



More information about the Rubygems-developers mailing list