Skip to content

Commit

Permalink
Update bundler before install
Browse files Browse the repository at this point in the history
* Avoids NoMethodError: undefined method `spec' for nil:NilClass
* Similar approach used in thoughtbot/factory_bot@3c0547f
  • Loading branch information
rgarner committed Apr 6, 2016
1 parent 9088c33 commit 07f02c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ matrix:
- rvm: ruby-head
- rvm: jruby

before_install:
- gem update --system
- gem update bundler

bundler_args: --without guard docs

script: bundle exec rspec spec/ -b

0 comments on commit 07f02c2

Please sign in to comment.