mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

Needed for CI: https://github.com/Homebrew/homebrew-core/pull/69460/checks?check_run_id=1740727396#step:6:32
29 lines
457 B
Ruby
29 lines
457 B
Ruby
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
require "formula"
|
|
require "cli/parser"
|
|
|
|
module Homebrew
|
|
extend T::Sig
|
|
|
|
module_function
|
|
|
|
sig { returns(CLI::Parser) }
|
|
def install_bundler_gems_args
|
|
Homebrew::CLI::Parser.new do
|
|
description <<~EOS
|
|
Install Homebrew's Bundler gems.
|
|
EOS
|
|
|
|
named_args :none
|
|
end
|
|
end
|
|
|
|
def install_bundler_gems
|
|
install_bundler_gems_args.parse
|
|
|
|
Homebrew.install_bundler_gems!
|
|
end
|
|
end
|