]> cat aescling's git repositories - mastodon.git/commitdiff
Use the stable RVM installer (#3901)
authornightpool <eg1290@gmail.com>
Thu, 22 Jun 2017 21:28:52 +0000 (17:28 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 22 Jun 2017 21:28:52 +0000 (23:28 +0200)
as mentioned by ElvenSpellmaker here: https://github.com/rvm/rvm/issues/4068

Adds a workaround for the issue mentioned by @abcang here: https://github.com/tootsuite/mastodon/pull/3897#issuecomment-310436668 and makes sure that we're using the stable installer to install the stable version.

Vagrantfile

index 77b5e83508d0e3ebd2aad10337837509e4d65c99..1f56fcfb3fe1e186733a51d796e613564ea76286 100644 (file)
@@ -42,7 +42,7 @@ sudo apt-get install \
 # Install rvm
 read RUBY_VERSION < .ruby-version
 gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
-curl -sSL https://get.rvm.io | bash -s stable --ruby=$RUBY_VERSION
+curl -sSL https://raw.githubusercontent.com/rvm/rvm/stable/binscripts/rvm-installer | bash -s stable --ruby=$RUBY_VERSION
 source /home/vagrant/.rvm/scripts/rvm
 
 # Install Ruby