rubygems/rubygems — pull request #1057 by voxik (2014-11-07 12:04:46+00:00)
Title: Don't touch the binary when not needed.

This might cause issues, when Bundler uses the git repository, but the
repository is read-only. In such case, although everything is in correct
state, the execution fails with 'Errno::EPERM: Operation not permitted @
chmod_internal' error.