Skip to content

Commit a501d8d

Browse files
committed
Fix marshal data too short error for default gems
1 parent f272de2 commit a501d8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ install_default_gems() {
103103

104104
echo -n "Running: gem install $gem_name ${args[@]:-} ... "
105105

106-
if output=$($gem install "$gem_name" "${args[@]:-}" 2>&1); then
106+
if output=$($gem install "$gem_name" "${args[@]+"${args[@]}"}" 2>&1); then
107107
echo -e "SUCCESS"
108108
else
109109
echo -e "FAIL: $output"

0 commit comments

Comments
 (0)