From 37c4240b25d67300b953e8428b1824745a06e395 Mon Sep 17 00:00:00 2001 From: chiu Date: Mon, 21 Sep 2020 14:35:55 +0800 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b8b7027..41b14db 100644 --- a/README.md +++ b/README.md @@ -258,6 +258,7 @@ $ sudo systemctl start rc.local ```txt # 附註 orbit +底下#!/bin/bash請務必要加 #!/bin/bash ORBIT_USER=rulingcom @@ -266,7 +267,9 @@ if [ -f "/home/$ORBIT_USER/.rvm/scripts/rvm" ]; then source /home/$ORBIT_USER/.rvm/scripts/rvm rvm use default else - if [ "$1" != "setup" ]; then + if [ -f "/etc/profile.d/rvm.sh" ]; then + source /etc/profile.d/rvm.sh + elif [ "$1" != "setup" ]; then echo "" echo "-----------------------------------------------------" echo "Orbit server dependencies is missing. Please run setup first."