From: Austin Ziegler Date: 2006-06-14T02:05:43+09:00 Subject: Re: RubyGems for inclusion in JRuby On 6/12/06, Charles O Nutter wrote: > - Rename jruby startup scripts to 'ruby' > (Obviously bad because it would mask a pre-existing Ruby install, so not > high on our list) > - Modify the installed gem scripts to invoke jruby instead of ruby > (Not a bad suggestion, but it would only take a single gemupdate to wipe out > our custom scripts) > - Provide "J"-prefixed versions of the RubyGems scripts that know how to > invoke thins correctly, e.g. jgem, jgemupdate > (Ugly, but the most clean and compatible solution by far; the RubyGems > scripts could then update without breaking anything, and the J-prefixed > versions would always work. However, it creates a bunch of new scripts to > maintain, and did I mention it's a little ugly?) I think this is the best option. You could probably work with RubyGems to get them to use something like Config::CONFIG["RUBY_INSTALL_NAME"]. It would also be useful if they created the .cmd scripts based on something other than just platform. ;) -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca