Non-ruby executables provided by gems get wrapped in a ruby executable
when providing executables with a gem, they get wrapped in a ruby wrapper that provides some support for using previous versions of a gem. If the executable is not a ruby file (e.g., a bash script, php, etc..) then the wrapper will fail.
Suggestions:
1. allow the gemspec to force the gem to be installed with
'--no-wrapper' and leave it to the developer to properly wrap
executables.
2. check the shebang line of the executable and skip wrapping for
anything that explicitly uses something other than ruby
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Luis Lavena on 05 May, 2011 02:51 PM
Please report these issues to RubyGems bug tracker;
http://rubyforge.org/tracker/?group_id=126
The purpose of help.rubygems.org is provide support for rubygems.org website.
Thank you.
Luis Lavena closed this discussion on 05 May, 2011 02:51 PM.