asdf-vm / asdf-ruby

Ruby plugin for asdf version manager
https://github.com/asdf-vm/asdf
MIT License
668 stars 134 forks source link

Getting BUILD FAILED (macOS 13.2.1 on arm64 using ruby-build 20231114) using M2 Macbook on Ventura 13.2.1 #374

Open cloudmagic80 opened 1 year ago

cloudmagic80 commented 1 year ago

These are the steps I've followed: 1 brew install ruby-build 2 brew install rbenv 3 rbenv init 4 echo 'eval "$(rbenv init -)"' >> ~/.zshrc 5 brew upgrade ruby-build 6 rbenv install 3.2.2 --verbose

error message: /Users/xxx/.rbenv/versions/3.2.2/lib/ruby/3.2.0/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby. Loading the Ruby yaml extension failed (linked to incompatible /Users/xxx/.rvm/rubies/ruby-3.0.0/lib/libruby.3.0.dylib - /Users/xxx/.rvm/gems/ruby-3.0.0/gems/psych-5.1.1.1/lib/psych.bundle)

I did install libyaml I did install psych

But I am still getting this message ^^ Please help I currently on ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin22]

Jihoon-SHIN commented 10 months ago

ㅜㅜ

trcoffman commented 8 months ago

why are you using rbenv but posting in asdf-ruby?