fix source cmd

This commit is contained in:
Samruddhi Khandale 2022-06-22 17:21:16 +00:00 committed by GitHub
parent ce44256ccb
commit 575a3ea5be

View file

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