Skip to content

Commit 7ec5212

Browse files
committed
TravisCI Tweak - update bundler before install
The travis CI build for ruby 1.9.3 failed with this error message: NoMethodError: undefined method `spec' for nil:NilClass An error occurred while installing spark_api (1.3.26), and Bundler cannot continue. Make sure that `gem install spark_api -v '1.3.26'` succeeds before bundling. Seems like a fair number of people had this problem with ruby 1.9.3 and bundler 1.7.6, so we'll try the workaround that worked for them.
1 parent 538ea56 commit 7ec5212

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@ language: ruby
22
rvm:
33
- 1.9.3
44
- 2.1.6
5+
6+
# Try to work around a travisCI quirk
7+
# see https://git.io/vVf62 for more
8+
before_install:
9+
- gem update --system
10+
- gem update bundler

0 commit comments

Comments
 (0)