diff options
Diffstat (limited to 'src/ruby/install.sh')
-rw-r--r-- | src/ruby/install.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ruby/install.sh b/src/ruby/install.sh index e13158d..7c71282 100644 --- a/src/ruby/install.sh +++ b/src/ruby/install.sh @@ -268,7 +268,5 @@ if [ ${SKIP_RBENV_RBUILD} != "true"] ; then fi # Clean up -source /usr/local/rvm/scripts/rvm -rvm cleanup all -gem cleanup +su ${USERNAME} -c ". /usr/local/rvm/scripts/rvm && rvm cleanup all && \"$(which gem || echo ${ROOT_GEM})\" cleanup" echo "Done!" |