cloudfoundry/ruby-buildpack — pull request #21 by pivotalfish (2014-09-11 14:29:22+00:00)
Title: run bundler with --retry to avoid network dodginess

We used to run `bundle package` prior to uploading our app to PWS - this seems to have stopped working and we've been battling some flakiness with our builds as a result.

A handy workaround is to make bundler retry if fetching fails - our app uses quite a few gems, and this seems to fix sporadic flakiness we experience when pushing.