Closed antunderwood closed 6 years ago
It looks like the ruby
provided by Alpine Linux is missing a piece (the etc
package), causing Brew to fail. If you don't install the ruby
packages using apk
, Brew will use its own Ruby, which should work fine. I've updated the Wiki. brew vendor-install ruby
should hopefully also resolve the issue.
I'm closing this issue, but feel free to comment. I'd be curious to hear if the suggested changes work for you.
Unfortunately the vendor install of ruby did not work, complaining of missing irb libraries
Following the steps in this gist worked (Thanks to your pointer about the ruby-etc lib). I also needed to add the gzip package
https://gist.github.com/aunderwo/afc81f8fb7dbcec64b01cc807b491765
@aunderwo nice work! Would you be interested in adding the dependencies to install to the README?
Maybe even better: update the wiki: https://github.com/Linuxbrew/brew/wiki/Alpine-Linux
The Readme is quite general, and alpine Linux is an edge case.
What was the error that the brewed portable-ruby
gave? It is expected to work. It's a bug if it doesn't.
Glad to hear that you got it working in any case.
When trying to install brew on Alpine Linux, following these instructions I run into the following problem