mpapis/rubygems-bundler — pull request #9 by tjouan (2011-12-17 20:56:01+00:00)
Title: Prepend "ruby_" to wrapper filename

Ruby MRI checks the shebang in files you pass as argument, and refuse
to interpret them when there is a shebang that does not include the
string "ruby".

By including "ruby" in the wrapper filename, gem binstubs can be
passed as argument to ruby interpreter and `ruby -S [gem bin stub]`
works.

I don't know how other ruby interpreters behave about that annoying
shebang check. But since rubygems-bundler wrapper uses "ruby" as
interpreter for itself, I think it won't change anything.