Closed robacarp closed 1 month ago
Looks like I should pick a more generic libncurses
package name, like libncurses-dev.
That was enough to get me up and running, thank you. I disabled installing deps and ran the apt command manually, but with libncurses-dev instead of libncurses5-dev:
apt-get install -y xz-utils build-essential bison zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses-dev libffi-dev
ruby-install --no-install-deps ruby 3.3.2
Later:
>>> Successfully installed ruby 3.3.2 into /opt/rubies/ruby-3.3.2
First off, this tool is amazing and has been amazing for years. Thank you.
Description
This is absolutely not a problem with ruby-install, but I hit the snag while using ruby-install so someone else might too. Perhaps it's something ruby-install can work around, but maybe not.
Steps To Reproduce
Building that dockerfile fails with this error:
The install fails because the dependencies for libncurses5-dev are out of whack somewhere within the debian trixie configuration. It's easy to reproduce without ruby-install with just
apt install libncurses5-dev
. I don't really know enough about the debian maintainership world to begin to know who to contact about this issue -- probably someone within the curses team, but I'm out of my depth here.As far as I'm concerned, ruby-install does a gigantic job of making ruby installations dead simple.
Here's what I don't know: Is it possible to work around this with ruby-build (or on my own)? Is that something ruby-install tries to do?