[Rubygems-developers] require hack

Simon Strandgaard neoneye at adslhome.dk
Tue Mar 23 18:14:46 EST 2004


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 ?

--
Simon Strandgaard



More information about the Rubygems-developers mailing list