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-15 12:31:33 +0100 |
commit | f3f6d1013d5f37c38f60a108dd1f4bead8eef70a (patch) | |
tree | bc71fa449a2c4a736905793fef4847bab1143169 | |
parent | 5da7195b52e2508c04d5c53bd91cce08cce5ddb0 (diff) | |
download | bundler-f3f6d1013d5f37c38f60a108dd1f4bead8eef70a.tar.gz |
Fix `graphviz` installation on TravisCI
-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" |