asdf-ruby
asdf-ruby copied to clipboard
Missing dependencies while building ruby-3.4.3 on Ubuntu 24.04
Just installed Ubuntu 24.04.2 LTS of a new desktop.
Installed asdf 0.16.7 using binary, added ruby plugi.
Tried to build ruby 3.4.3 and got several compilation errors due to missing dependencies:
- zlib1g-dev
- libffi-dev
- libyaml-dev
After few iterations of trying to build, checking logs and installing missing dependencies I've finally got ruby installed, but I believe good version manager should install such dependencies automatically.
Probably duplicate of https://github.com/asdf-vm/asdf-ruby/issues/386
Actually it's already document in Install section of the README : https://github.com/asdf-vm/asdf-ruby?tab=readme-ov-file#install
Please make sure you have the required system dependencies installed before trying to install Ruby.
Yes, I've also found this later. But again, I believe it would be better if version manager handled it itself. For example rvm fetches all required dependencies automatically.
But again, I believe it would be better if version manager handled it itself. For example rvm fetches all required dependencies automatically.
So I think it should be handled upper in the stack : at asdf level and not at plugin level.