Drakmail
Drakmail

Reputation: 692

Travis could not find bundler 1.7.4

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

Answers (2)

Guillaume Pascal
Guillaume Pascal

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

Danil
Danil

Reputation: 2537

Add this to your .travis.yml:

before_install: gem install bundler --pre

Upvotes: 5

Related Questions