carlhuda/bundler — Issue #1620: Bundler doesn't add itself to vendor/cache, even when listed in Gemfile
Author: jasonkarns
Created: 2012-01-10 14:12:45+00:00
State: open

Bundler was added as a dependency to our Gemfile. https://gist.github.com/1589237#file_gemfile
After `bundle install`, the Gemfile.lock was generated correctly. https://gist.github.com/1589237#file_gemfile.lock
After `bundle pack`, Bundler was not added to vendor/cache as it should have been. https://gist.github.com/1589237#file_ls

I realize this seems a bit like a 'pull yourself up by your own bootstraps' issue. However, we have a valid need to have bundler included in vendor/cache. Our corporate firewall prevents us from (easily) using `gem install bundler` to simply install bundler. Having bundler added to vendor/cache directly would allow simple installation. We could easily do `gem install bundler-1.0.21.gem` from within vendor/cache. Once installed, we could continue with `bundle install` as usual.

It is indeed odd to have bundler listed as a dependency in Gemfile. But I see no reason why it should explicitly be skipped in vendor/cache when it is intentionally added to Gemfile.