From e99034d8e3ff4c0a133be52a186e4a3c9448f4e6 Mon Sep 17 00:00:00 2001 From: BingoKingo <24961267+BingoKingo@users.noreply.github.com> Date: Sat, 1 Feb 2025 17:23:02 +0800 Subject: [PATCH] Update formula_creator.rb --- Library/Homebrew/formula_creator.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Library/Homebrew/formula_creator.rb b/Library/Homebrew/formula_creator.rb index 3369cb4d7b..1979134079 100644 --- a/Library/Homebrew/formula_creator.rb +++ b/Library/Homebrew/formula_creator.rb @@ -202,14 +202,7 @@ module Homebrew <% elsif @mode == :ruby %> ENV["GEM_HOME"] = libexec - # Additional dependency from gem - # resources.each do |r| - # system "gem", "install", r.cached_download, "--ignore-dependencies", - # "--no-document", "--install-dir", libexec - # end - - system "bundle", "config", "set", "without", "development", "test" - system "bundle", "install" + system "bundle", "install", "-without", "development", "test" system "gem", "build", "\#{name}.gemspec" system "gem", "install", "\#{name}-\#{version}.gem" bin.install libexec/"bin/\#{name}"