diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-14 16:27:05 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-14 16:35:43 +0100 |
commit | ae61d3f8485110062cdec871c6d41c92f5d4d9e9 (patch) | |
tree | fa5818ab0799b3c8bacc674224995801bebd7af0 | |
parent | 374351bf59ffd117eccc8efbac35c53b7ffd3809 (diff) | |
download | bundler-bundle_viz_deprecation.tar.gz |
Fix `graphviz` installation on TravisCIbundle_viz_deprecation
-rw-r--r-- | Rakefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -63,10 +63,12 @@ namespace :spec do system "sudo sed -i 's/1000::/1000:Travis:/g' /etc/passwd" # Strip secure_path so that RVM paths transmit through sudo -E system "sudo sed -i '/secure_path/d' /etc/sudoers" + # Refresh packages index that the ones we need can be installed + sh "sudo apt-get update" # Install groff so ronn can generate man/help pages sh "sudo apt-get install groff-base -y" # Install graphviz so that the viz specs can run - sh "sudo apt-get install graphviz -y 2>&1 | tail -n 2" + sh "sudo apt-get install graphviz -y" # Install the gems with a consistent version of RubyGems sh "gem update --system 3.0.3" |