Carlo Cabrera bb20b3c720
os/linux/ld: harden brewed_ld_so_diagnostics against TypeError
I think this is a bug in Ruby, but I've no idea how to track it down. I
can reproduce it intermittently in a codespace when `brew install`ing a
large number of formulae.

To work around this:
- cache the return value of `brewed_ld_so_diagnostics` so that we can
  limit the number of calls to `IO.popen`
- retry once when we see a `TypeError`

Closes #17828.
2024-09-16 20:26:35 +08:00
..
2024-09-04 22:54:25 +02:00
2024-09-12 16:49:23 +08:00
2024-08-20 00:13:23 +00:00
2024-09-11 16:29:58 +00:00
2024-09-13 15:03:13 +00:00
2024-08-12 17:36:14 +01:00
2024-08-14 22:56:26 -04:00
2024-09-05 03:37:25 +01:00
2024-09-11 09:00:37 +01:00
2024-08-23 05:59:00 +01:00
2024-08-18 19:03:26 -04:00
2024-09-07 14:45:30 +02:00
2024-07-30 17:51:02 +01:00
2024-09-10 10:11:33 -07:00
2024-09-13 15:03:13 +00:00
2024-08-18 21:20:23 -06:00
2024-09-04 22:54:20 +02:00
2024-08-20 03:58:01 +01:00
2024-09-04 22:54:21 +02:00
2024-08-10 17:52:26 -07:00
2024-08-10 16:43:37 +01:00
2024-08-20 15:33:08 +01:00
2024-08-19 09:56:50 -07:00

Homebrew Ruby API

This is the API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!