The current binwrapper does not handle applications passing a version request to the binwrapper. This means, for example, that netbeans cannot run the ruby-debug-ide as the filename arg is replaced with the version argument giving an error along the lines of file _0.4.6_ not found. Something like... version = ">= 0" if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then version = $1 ARGV.shift end added to the bin wrappers should fix the problem, and shouldn't cause any issues as this is what gem does itself. However a more simplistic... if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then ARGV.shift end as the current system cannot handle multiple versions of a gem anyway.
hm... I'd go with the former just for the sake of it, so that if we'll ever handle multiple versions of a single gem it wouldn't fail badly. Thanks Chris.
(In reply to comment #0) > as the current system cannot handle multiple versions of a gem anyway. But it can when we slot gems, which we do from time to time. So we *must* choose the first option.
Chris, do you have time to work this into a patch that I can just drop into ruby-fakegem.eclass?