summaryrefslogtreecommitdiff
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-14 16:35:43 +0100
commitae61d3f8485110062cdec871c6d41c92f5d4d9e9 (patch)
treefa5818ab0799b3c8bacc674224995801bebd7af0
parent374351bf59ffd117eccc8efbac35c53b7ffd3809 (diff)
downloadbundler-bundle_viz_deprecation.tar.gz
Fix `graphviz` installation on TravisCIbundle_viz_deprecation
-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"