bug: switch ruby version fails
lyb124553153 opened this issue · 1 comments
lyb124553153 commented
Describe the Bug
can not change ruby versionthe
Steps to Reproduce
liyongbo {~} greetings, earthling [2.850Gb]$ ☞ ruby -v
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin22]
liyongbo {~} greetings, earthling [2.850Gb]$ ☞ asdf current ruby
ruby 3.1.4 /Users/liyongbo/.tool-versions
Expected Behaviour
epect ruby to be 3.1.4Expect
Actual Behaviour
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin22]
Environment
OS:
Darwin liyongbodeMacBook-Pro.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:21:56 PDT 2023; root:xnu-8796.141.3~6/RELEASE_X86_64 x86_64
SHELL:
zsh 5.9 (x86_64-apple-darwin22.0)
BASH VERSION:
3.2.57(1)-release
ASDF VERSION:
v0.12.0-816195d
ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/liyongbo/.asdf
ASDF_DIR=/usr/local/opt/asdf/libexec
ASDF_CONFIG_FILE=/Users/liyongbo/.asdfrc
ASDF INSTALLED PLUGINS:
gitleaks https://github.com/jmcvetta/asdf-gitleaks.git main 0cc0d7e
golang https://github.com/asdf-community/asdf-golang.git master d8dec15
minio https://github.com/aeons/asdf-minio.git master 113b19d
nodejs https://github.com/asdf-vm/asdf-nodejs.git master 4f8aa3d
postgres https://github.com/smashedtoatoms/asdf-postgres.git master f8cf805
redis https://github.com/smashedtoatoms/asdf-redis.git master 5e0a853
ruby https://github.com/asdf-vm/asdf-ruby.git master 8cb9721
rust https://github.com/code-lever/asdf-rust.git master 95acf4f
shellcheck https://github.com/luizm/asdf-shellcheck.git master b160a52
vale https://github.com/pdemagny/asdf-vale main 9a3b1c0
yarn https://github.com/twuni/asdf-yarn.git main 376c540
asdf plugins affected (if relevant)
ruby
lyb124553153 commented
I solve this problem by add export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@3)