Skip to content

Commit 5205df8

Browse files
authored
Merge pull request #163 from sakakibara/fix-default-gems-install
Fix marshal data too short error for default gems
2 parents f272de2 + a501d8d commit 5205df8

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)