Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Travis could not find bundler 1.7.4

Tags:

travis-ci

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?

like image 906
Drakmail Avatar asked Oct 21 '14 07:10

Drakmail


1 Answers

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"
like image 178
Guillaume Pascal Avatar answered Mar 05 '23 07:03

Guillaume Pascal