Created by: clarkperkins
Newer jruby versions (9.1.13.0+) have more than 1 line in the bin executables that needs to be copied:
if Gem.respond_to?(:activate_bin_path)
load Gem.activate_bin_path('bundler', 'bundler')
else
gem "bundler"
load Gem.bin_path("bundler", "bundler")
end
This change copies the last 6 lines if necessary.