Bundler doesn't (and can't) bundle itself so
gem 'bundler', '>= 1.7.0'
isn't enough. Bundler must be updated manually locally and on each stage.
$ gem update bundler
Circle also doesn't update bundler automatically, so I had to use this:
# circle.yml
dependencies:
pre:
- gem update bundler
Bundler doesn't care about Gemfile.lock
when running bundle install
for gems in source blocks. There's an opened issue for this. This, basically, meant I had to go through each Gemfile
gem in source block and set its version manually.
# gem "rails-assets-angular", '~> 1.2.0'
source "http://rails-assets.org" do
gem "rails-assets-angular", '1.2.27'
end