[Rubygems-developers] How best to change defaults for RubyGems in JRuby

Eric Hodel drbrain at segment7.net
Sat Dec 15 22:31:41 EST 2007

On Dec 13, 2007, at 22:06 PM, Charles Oliver Nutter wrote:
> Eric Hodel wrote:
>> RubyGems should have a configuration file that lives in /etc and
>> wherever it is on win32.  I think Dan Berger posted how to do that in
>> a previous message.
> That's not exactly what I meant. JRuby users might have several  
> installs
> of JRuby...what we want is a way to ship RubyGems with all the
> appropriate defaults for running under JRuby pre-set. I'm just not  
> sure
> which file is the appropriate one to do that.

I added a patch that moved most of the defaults methods into rubygems/ 
defaults.rb.  Perhaps RubyGems could conditionally define things  
depending upon platform in that file?

More information about the Rubygems-developers mailing list