From 88c4195e4ae626111799e5b8c560b9f82adfc146 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 28 May 2018 08:26:17 -0700 Subject: [PATCH] explicitly install ruby 2.5.0 in travis (#345) --- bin/setup-mastodon-in-travis.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/setup-mastodon-in-travis.sh b/bin/setup-mastodon-in-travis.sh index 6bf5fc37..86932780 100755 --- a/bin/setup-mastodon-in-travis.sh +++ b/bin/setup-mastodon-in-travis.sh @@ -7,6 +7,10 @@ if [[ "$COMMAND" = deploy-dev-travis ]]; then exit 0 # no need to setup mastodon in this case fi +source "$HOME/.rvm/scripts/rvm" +rvm install 2.5.0 +rvm use 2.5.0 + sudo -E add-apt-repository -y ppa:mc3man/trusty-media sudo -E apt-get update sudo -E apt-get install -y ffmpeg