Skip to content

Commit

Permalink
Update bundler before installing gems.
Browse files Browse the repository at this point in the history
Ruby 1.9.3-p551 on Travis CI includes an ancient version of bundler
(v1.7.6) that is not compatible with new versions of RubyGems. This
causes an 'undefined method `spec' for nil:NilClass' error (see
https://travis-ci.org/tzinfo/tzinfo/jobs/272252812).

(cherry picked from commit ba1fb98)
  • Loading branch information
philr committed Oct 26, 2017
1 parent 9b8d1e5 commit 8cab278
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1,6 +1,8 @@
language: ruby
dist: trusty
sudo: false
before_install:
- gem update bundler
before_script:
- bundle update
cache: bundler
Expand Down

0 comments on commit 8cab278

Please sign in to comment.