How can I inform brew to skip making an attempt to make calls to the Web when putting in domestically?
I’ve downloaded the brew method and bottle
consumer@host ~ % ls
wget-1.24.5.json
wget-1.24.5.rb
wget-1.24.5.ventura.bottle.tar.gz
Based on the guide web page man brew
, you’ll be able to specify the relative path to the recipe after brew set up
BREW(1) brew BREW(1) NAME brew - The Lacking Bundle Supervisor for macOS (or Linux) SYNOPSIS brew --version brew command [--verbose|-v] [options] [formula] ... ... TERMINOLOGY method Homebrew bundle definition that builds from upstream sources ... set up method Set up method. method is normally the title of the method to put in, however it has different syntaxes that are listed within the SPECIFYING FORMULAE part. ... SPECIFYING FORMULAE Many Homebrew instructions settle for one or extra method arguments. These arguments can take a number of completely different types: The title of a method e.g. git, node, wget. The fully-qualified title of a tapped method Generally a method from a tapped repository could battle with one in homebrew/core. You may nonetheless entry these formulae by utilizing a particular syntax, e.g. homebrew/dupes/vim or homebrew/ver- sions/node4. An arbitrary file Homebrew can set up formulae from a neighborhood path. It may well level to both a method file or a bottle. Prefix relative paths with ./ to forestall them from being interpreted as a method or faucet title.
As described within the documentation above, I execute the next
brew reinstall --verbose ./wget-1.24.5.rb
Unfortunaelty, the above command makes an attempt to entry the Web. And when curl
inevitably times-out, quite than utilizing the bottle that is saved within the $HOMEBREW_CACHE
, it simply exits because of the community failure
consumer@host ~ % brew reinstall --verbose ./wget-1.24.5.rb
curl: (28) Failed to connect with instance.com port 9999 after 75004 ms: Could not hook up with server
Failure whereas executing; `/usr/bin/env /usr/native/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/4.2.8 (Macintosh; Intel Mac OS X 12.7.3) curl/8.4.0 --header Settle for-Language: en --fail --silent --remote-time --output /Customers/runner/work/buskill-app/buskill-app/construct/deps/api/method.jws.json --location --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.2.8 (Macintosh; Intel Mac OS X 12.7.3) curl/8.4.0 --header Settle for-Language: en --fail --silent --compressed --speed-limit 100 --speed-time 5 https://formulae.brew.sh/api/method.jws.json` exited with 28. Here is the output:
curl: (28) Failed to connect with instance.com port 9999 after 75004 ms: Could not hook up with server
consumer@host ~ %
How can I inform brew not to attempt to obtain method.jws.json
and as an alternative simply use the recipe that I’ve supplied domestically?