aboutsummaryrefslogtreecommitdiff
path: root/src/ruby/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ruby/install.sh')
-rwxr-xr-xsrc/ruby/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/install.sh b/src/ruby/install.sh
index 2228522..bf2cbbe 100755
--- a/src/ruby/install.sh
+++ b/src/ruby/install.sh
@@ -9,7 +9,7 @@
RUBY_VERSION=${VERSION:-"latest"}
-USERNAME=${USERNAME:-"automatic"}
+USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"}
INSTALL_RUBY_TOOLS=${INSTALL_RUBY_TOOLS:-"true"}