Mike McQuaid a1e4e9eaf7
bundle/commands/exec: make environment variables more consistent.
Let's avoid having `exec` and `env`/`sh` subcommands have different
environment variables logic. Instead, let's e.g. add `HOMEBREW_PATH`
and remove `*/Homebrew/shims/*` from the `PATH` for all three
subcommands.

This allows more consistency for users and easier to debug and reason
about behaviour.
2025-04-25 11:53:23 +01:00
..
2025-02-06 21:04:08 -08:00
2025-04-24 16:34:36 +08:00
2024-12-31 00:15:10 +00:00
2025-03-27 03:38:09 +00:00
2025-01-19 12:32:55 +01:00
2025-04-23 10:09:45 +02:00
2025-04-22 11:50:08 -07:00
2025-03-31 17:55:07 +01:00
2025-04-22 22:31:45 +02:00
2025-04-22 11:50:08 -07:00
2025-04-24 00:12:35 +00:00
2025-04-22 11:50:08 -07:00
2025-04-16 09:26:13 -07:00
2025-02-04 16:27:39 +00:00
2025-04-14 19:10:58 +01:00
2025-02-17 18:56:31 -08:00
2025-04-23 10:09:45 +02:00
2024-09-26 14:32:55 -04:00
2025-04-15 23:02:00 +01:00
2025-02-16 13:26:10 -08:00
2024-11-26 14:09:13 -08:00
2025-04-03 12:47:21 +01:00
2025-03-30 18:15:00 +02:00
2024-09-26 14:48:32 -04:00
2025-02-06 21:04:08 -08:00
2025-04-22 11:50:08 -07:00
2025-04-24 00:12:35 +00:00
2025-02-17 18:56:31 -08:00
2025-02-04 16:27:39 +00:00
2024-10-05 12:18:29 -07:00
2024-12-11 11:04:55 -08:00
2025-04-16 16:22:36 +01:00
2024-09-26 16:19:11 -04:00
2024-12-05 14:01:37 +00:00
2025-02-04 16:27:39 +00:00
2025-03-02 21:36:03 -08:00
2025-01-07 17:40:18 +00:00
2024-12-07 10:35:33 -08:00
2025-03-31 17:55:07 +01:00
2025-03-27 03:38:09 +00:00
2025-03-02 21:36:03 -08:00
2024-09-25 16:49:46 +08:00
2025-02-24 11:57:20 -08:00
2025-02-17 19:11:48 -08:00
2024-09-27 12:31:59 -04: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!