[Rubygems-developers] How best to change defaults for RubyGems in JRuby
drbrain at segment7.net
Mon Dec 10 17:27:15 EST 2007
On Dec 3, 2007, at 21:49 PM, Charles Oliver Nutter wrote:
> I need to modify RubyGems to have slightly different defaults when
> running under JRuby. Where is the best place to do that? Should I
> the RubyGems code we ship with, or is there a better way?
> For example, because JRuby's main executable is a shell script,
> no way to use it in the shebang line of a script. Unfortunately, by
> default, RubyGems installs the exact name of the executable:
> So I need to enable the env-shebang option always under JRuby, so
> scripts install right.
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.
More information about the Rubygems-developers