You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing dependencies while building ruby-3.4.3 on Ubuntu 24.04 #450
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.
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.
I disagree that a plugin should handle automatic package installation because ASDF manages tools, not packages. The premise behind it is that installing tools won't change your system state, except for the tools added to the PATH.
If plugins begin to change system state and packages they become more likely to introduce problems at system level.
Activity
damisul commentedon Apr 27, 2025
Probably duplicate of #386
n-rodriguez commentedon Jul 17, 2025
Actually it's already document in
Installsection of theREADME: https://github.com/asdf-vm/asdf-ruby?tab=readme-ov-file#installdamisul commentedon Jul 18, 2025
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.
n-rodriguez commentedon Jul 18, 2025
So I think it should be handled upper in the stack : at
asdflevel and not at plugin level.br-arruda commentedon Jan 26, 2026
I disagree that a plugin should handle automatic package installation because ASDF manages tools, not packages. The premise behind it is that installing tools won't change your system state, except for the tools added to the PATH.
If plugins begin to change system state and packages they become more likely to introduce problems at system level.