aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-06-22 20:52:47 +0300
committerGitHub <noreply@github.com>2022-06-22 20:52:47 +0300
commit81d2c1564fc96b82173fcff955bebf9ea763a9a5 (patch)
tree481fb009e309f2abeb25440f73cdaacfdc3770c9
parentf657b3e16438557d0cfb54a8c112d4943f7d7b13 (diff)
add missing quotes
-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