Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
When installing gems via bundler, they have an incorrect shebang #3
From a clean install w/o gems in the current rvm gemset:
most likely you have a setting BUNDLE_BIN in ~/.bundle/config or in you environment.
using rubygems-bundler does not affect binaries generated by bundler.
You should turn of that BUNDLE_BIN variable as bundler provided binaries are no longer required for proper working when using rubygems-bundler gem.
It doesn't look like it's the traditional bundler-binstubs:
outputs https://gist.github.com/1150403 - identical except for the shebang
outputs https://gist.github.com/1150405 - the bundler binstub
I'm having the same problem, with a similar setup. Only difference is that I'm running RubyGems 1.8.8 and RVM. I haven't been able to track down where the problem is in the code, but I suspect that it's in the way Bundler does the gem install -- via a Ruby call instead of the command line.
As a work-around, I've been running
Other than that, I think the plugin is great. Thanks!
After checking it looks like bundler does not run rubygems plugins, I'm not sure if that is a bug or feature ...
rubygems-bundler uses shebang customization backported from rubygems 1.9, and in 1.9 backporting via rubygems plugin will be not needed - so then it should be working.
For now please use
One of main goals of rubygems-bundler is backporting so I will investigate this issue in free time to provide solution to make your life easier.