From 92cb62dace2d4e9480b2e9cac27239798dc89d95 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 8 Jan 2019 16:29:27 +0000 Subject: [PATCH] utils: fix bad parameters. --- Library/Homebrew/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 93bd518043..81ce462e05 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -230,7 +230,7 @@ module Homebrew # having to find the right `gem` binary for the running Ruby interpreter. require "rubygems/commands/install_command" install_cmd = Gem::Commands::InstallCommand.new - install_cmd.handle_options("--no-document", name) + install_cmd.handle_options(["--no-document", name]) exit_code = 1 # Should not matter as `install_cmd.execute` always throws. begin install_cmd.execute