aboutsummaryrefslogtreecommitdiff
path: root/src/ruby/install.sh
diff options
context:
space:
mode:
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 ade545c..cbe8270 100644
--- a/src/ruby/install.sh
+++ b/src/ruby/install.sh
@@ -277,7 +277,7 @@ if [ "${SKIP_RBENV_RBUILD}" != "true" ]; then
ln -s /usr/local/rvm/rubies/default/bin/ruby /usr/local/rvm/gems/default/bin
- chown -R :rvm "/home/${USERNAME}/.rbenv"
+ chown -R "${USERNAME}:rvm" "/home/${USERNAME}/.rbenv"
chmod -R g+r+w "/home/${USERNAME}/.rbenv"
find "/home/${USERNAME}/.rbenv" -type d | xargs -n 1 chmod g+s
fi