aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f93253c..a1559b2 100644
--- a/src/ruby/install.sh
+++ b/src/ruby/install.sh
@@ -251,7 +251,7 @@ if [ "${INSTALL_RUBY_TOOLS}" = "true" ]; then
# Non-root user may not have "gem" in path when script is run and no ruby version
# is installed by rvm, so handle this by using root's default gem in this case
ROOT_GEM="$(which gem || echo "")"
- sudo_if ${ROOT_GEM} install ${DEFAULT_GEMS}
+ sudo_if "${ROOT_GEM} install ${DEFAULT_GEMS}"
fi
# VS Code server usually first in the path, so silence annoying rvm warning (that does not apply) and then source it