]> gitweb.factorcode.org Git - factor.git/commitdiff
.travis: Delete old rubygems after we install it.
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 8 Dec 2019 20:07:38 +0000 (12:07 -0800)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 8 Dec 2019 20:07:38 +0000 (12:07 -0800)
.travis.yml

index d21c2579455248d225dc6e8e5736a689a505aec1..a8568490699a0479b3f72c9f6451f69ad13657a4 100644 (file)
@@ -37,6 +37,7 @@ before_install:
   - uname -s
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./build.sh deps-macosx ; else ./build.sh deps-apt-get ; fi
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew ls --versions portable-ruby || brew install homebrew/portable-ruby/portable-ruby ; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo rm /Library/Ruby/Site/2.3.3/rubygems.rb ; fi # https://github.com/Homebrew/brew/issues/3404
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew ls --versions snappy > /dev/null || brew install snappy; fi
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew ls --versions cmake > /dev/null || brew install cmake; fi
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew ls --versions libmagic > /dev/null || brew install libmagic; fi