Possible implementation for #898.
Not that many changes. Tests could be insufficient though...
Added a new method --wrapper-template
This method allows you to override the template used
for generating the wrapper.
Possible solution for rubygems/rubygems#898
Added tests for --wrapper-template
@vStone is there still interest in seeing this integrated into rubygems? If so, updating this pull request against rubygems master would be appreciated.
Marking abandoned for the moment, if no updates in a couple of weeks we'll close it.
Although I'm not using this at this exact moment, it still feels like something that could be useful for people trying to run multiple version of a gem next to each other. I will try to make some time to update the pull requests, but since it's been so long and I'm pretty busy... I'll see what I can do. Leave it abandoned and if I have not picked this up in a couple of weeks, feel free to close it. I can always re-open when necessary.
Closing, since "could be useful" isn't a strong-enough reason for incurring the maintenance burden.