Hacker News new | ask | show | jobs
by varenc 2044 days ago
Homebrew is just Ruby, so there’s no way for macOS to independently know that it should present a fake x86 system to this particular Ruby script (or shell script). But when you run an x86 binary, it should just work like you describe.
1 comments

But wouldn't it load the right ruby interpreter? And anything installed via homebrew, it would also know how to exec?

The only problem I see is if you have a mix of different architectures wrt libraries.