Reputation: 692
Build job fails after updating bundler version in gemspec: https://travis-ci.org/yandex-money/yandex-money-sdk-ruby/jobs/38536867
How I can update bundler to 1.7.4 version?
Upvotes: 7
Views: 1925
Reputation: 845
Try to add the following code in an additional install
section of your .travis file:
gem uninstall bundler
gem install bundler --version '1.7.4'
So, the beginning of your .travis file will be:
language: ruby
install:
- gem uninstall bundler
- gem install bundler --version '1.7.4'
script: "rake"
Upvotes: 16
Reputation: 2537
Add this to your .travis.yml:
before_install: gem install bundler --pre
Upvotes: 5