Skip to content

Commit 07f02c2

Browse files
committed
Update bundler before install
* Avoids NoMethodError: undefined method `spec' for nil:NilClass * Similar approach used in thoughtbot/factory_bot@3c0547f
1 parent 9088c33 commit 07f02c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ matrix:
1212
- rvm: ruby-head
1313
- rvm: jruby
1414

15+
before_install:
16+
- gem update --system
17+
- gem update bundler
18+
1519
bundler_args: --without guard docs
1620

1721
script: bundle exec rspec spec/ -b

0 commit comments

Comments
 (0)