Skip to content

Commit 9337786

Browse files
committed
Fixup bundle_install method for fine-grained configuration
1 parent fff1f9a commit 9337786

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/rbs/cli_test.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ def bundle_install(*gems)
5555
if gem == :gemspec
5656
"gemspec"
5757
else
58-
"gem '#{gem}'"
58+
if gem.is_a?(Array)
59+
"gem #{gem.map(&:inspect).join(", ")}"
60+
else
61+
"gem '#{gem}'"
62+
end
5963
end
6064
end
6165

0 commit comments

Comments
 (0)