summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-14 16:27:05 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-15 12:31:33 +0100
commitf3f6d1013d5f37c38f60a108dd1f4bead8eef70a (patch)
treebc71fa449a2c4a736905793fef4847bab1143169 /Rakefile
parent5da7195b52e2508c04d5c53bd91cce08cce5ddb0 (diff)
downloadbundler-f3f6d1013d5f37c38f60a108dd1f4bead8eef70a.tar.gz
Fix `graphviz` installation on TravisCI
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 35f0eff074..bfaf1d964d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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"