added ruby install script

This commit is contained in:
marvzhang
2020-10-12 15:32:48 +08:00
parent bc9586782c
commit 39d601909c

12
backend/scripts/install-ruby.sh Executable file
View File

@@ -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`