Non-ruby executables provided by gems get wrapped in a ruby executable

olbrich's Avatar


05 May, 2011 02:46 PM

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.

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

  1. 1 Posted by Luis Lavena on 05 May, 2011 02:51 PM

    Luis Lavena's Avatar

    Please report these issues to RubyGems bug tracker;

    The purpose of is provide support for website.

    Thank you.

  2. Luis Lavena closed this discussion on 05 May, 2011 02:51 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac