diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-01-25 11:20:01 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-01-25 11:20:01 -0800 |
commit | 12ea8acd29cf92bba84e2cb69874778c2511d7ef (patch) | |
tree | d7e367686f5932192aa0e00c960fc1990bb12ecb /.travis.yml | |
parent | f4c23b8d42b3fbf2a63c36f7e092ad4759a8960e (diff) | |
download | chef-12ea8acd29cf92bba84e2cb69874778c2511d7ef.tar.gz |
[ci skip] add comment about why we do what we do here
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index b9ebc22050..2911dcc70d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ dist: trusty before_install: - gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2) - gem --version + # travis may preinstall a bundler gem which is later than the one which we pin, which may totally hose us, so we preemtively + # uninstall anything they may have installed here. if they haven't installed anything then we have to ignore the failure + # to uninstall the default bundler that ships embedded in ruby itself. - rvm @global do gem uninstall bundler -a -x || true - gem install bundler -v $(grep bundler omnibus_overrides.rb | cut -d'"' -f2) - bundle --version |