aboutsummaryrefslogtreecommitdiff
path: root/src/ruby/install.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-06-22 20:21:16 +0300
committerGitHub <noreply@github.com>2022-06-22 20:21:16 +0300
commit575a3ea5be5191939cdb458c935ec157ae1c9204 (patch)
tree67361c89350c6fe5e47d4073d7fe607171b17943 /src/ruby/install.sh
parentce44256ccb4df859578c689b4e135812db5a72ef (diff)
fix source cmd
Diffstat (limited to 'src/ruby/install.sh')
-rw-r--r--src/ruby/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/install.sh b/src/ruby/install.sh
index dc2bc8e..12f5916 100644
--- a/src/ruby/install.sh
+++ b/src/ruby/install.sh
@@ -231,7 +231,7 @@ else
chown -R "${USERNAME}:rvm" "${RVM_DIR}/"
chmod -R g+r+w "${RVM_DIR}/"
su ${USERNAME} -c curl -sSL https://get.rvm.io | bash -s stable --ignore-dotfiles ${RVM_INSTALL_ARGS} --with-default-gems="${DEFAULT_GEMS}" 2>&1
- su ${USERNAME} -c source ${RVM_DIR}/scripts/rvm
+ source ${RVM_DIR}/scripts/rvm
rvm fix-permissions system
rm -rf ${GNUPGHOME}
fi