On Jun 25, 2008, at 14:10 PM, Vladimir Sizikov wrote:
I'm currently in a process of upgrading JRuby trunk with the latest
rubygems 1.2, and
trying to use the new feature to provide some JRuby specific
customization to rubygems via
#{RUBY_ENGINE}.rb file.

It worked very well in some cases, but I'm facing some problems when I
try to customize
things like commands, since that RUBY_ENGINE.rb file is loaded at the
end of rubygems.rb
file but *before* other things like commands are loaded.

Here are some use cases that I'd like to resolve somehow:

1. gem install and gem update commands. I'd like to customize the
default options.
  More specifically, to enable env_shebang option.

I think Gem::ConfigFile can be changed to set this as default. I'll explore it.

2. installer.rb has shebang(bin_file_name) method that works not
ideally with JRuby on Windows,
  and I'd like to provide customized version of that.

How do you want to change shebang? Maybe we can make the change in the installer instead.
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to