[Rubygems-developers] require hack

Chad Fowler chad at chadfowler.com
Thu Mar 25 22:24:18 EST 2004


I just got back in town.  Sorry.  Now it's tiime to spend time with my  
wife.  Back in touch tomorrow probably.

Chad


On Mar 25, 2004, at 10:14 PM, Simon Strandgaard wrote:

> 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
>
> _______________________________________________
> Rubygems-developers mailing list
> Rubygems-developers at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubygems-developers



More information about the Rubygems-developers mailing list