cashapp / hermit-packages

Hermit manages isolated, self-bootstrapping sets of tools in software projects.
https://cashapp.github.io/hermit
120 stars 124 forks source link

ruby uses homebrew's "package" of ruby which is not intended to be used in this fashion #472

Closed jufemaiz closed 7 months ago

jufemaiz commented 7 months ago

https://github.com/Homebrew/homebrew-portable-ruby/issues/185#issuecomment-2024655678

alecthomas commented 7 months ago

What issue does this cause?

jufemaiz commented 7 months ago

Critical part, beyond the author's specifically described "don't use this" warning, would be the lack of ongoing support of more up-to-date releases (for example, the linked ticket explicitly rejected option to bump release to current major release. AWS lambda ruby for instance is on Ruby 3.2 with no Ruby 3.1 support at all)

Perhaps there's scope for an alternative solution if a pathway is open like the python project https://github.com/indygreg/python-build-standalone ?

alecthomas commented 7 months ago

Hermit doesn't care where the tarballs come from, but currently these are the only portable Ruby builds available so there's no choice.