Skip to content

Commit

Permalink
Update RubyGems prior to installing bundle
Browse files Browse the repository at this point in the history
By enabled Danger, we enable the installation of Rubocop on the CI
environment. Rubocop depends on the "rainbow" library which has a build
error on certain versions of RubyGems. This has been fixed in newer
versions of RubyGems, so let's just update RubyGems prior to trying to
install anything.

See: ku1ik/rainbow#44
See: rubygems/rubygems#1819
  • Loading branch information
michaelherold committed Jan 28, 2017
1 parent ff18ddb commit 3155661
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ rvm:
script: bundle exec rspec
sudo: false

before_install: gem install bundler -v 1.11.2
before_install:
- gem update --system --no-doc
- gem install bundler -v 1.14.1

bundler_args: --without development

matrix:
Expand Down

0 comments on commit 3155661

Please sign in to comment.