-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
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:
- allow the gemspec to force the gem to be installed with '--no-wrapper' and leave it to the developer to properly
wrap executables. - check the shebang line of the executable and skip wrapping for anything that explicitly uses something other than
ruby - provide a warning at the time the gem is built that files will be wrapped (check for .bat files, or shebangs that don't include ruby... perhaps not perfect, but it will probably catch most cases).
- document the existing behavior better and provide instructions for work arounds for non-ruby binaries.
bmedici, yegor256, ndbroadbent, chhex, iboB and 3 more