From 39d601909cc2dd1fe5672d9a8892436b11b16b4f Mon Sep 17 00:00:00 2001 From: marvzhang Date: Mon, 12 Oct 2020 15:32:48 +0800 Subject: [PATCH] added ruby install script --- backend/scripts/install-ruby.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 backend/scripts/install-ruby.sh diff --git a/backend/scripts/install-ruby.sh b/backend/scripts/install-ruby.sh new file mode 100755 index 00000000..b6bc6fed --- /dev/null +++ b/backend/scripts/install-ruby.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +apt-get update +apt-get install -y curl + +curl -sSL https://get.rvm.io | bash -s stable +source /etc/profile.d/rvm.sh + +echo `rvm list known` +rvm install 2.6.1 + +echo `ruby -v`