Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asdf-ruby on macOS 12.6 Apple Silicon with rb 3.1.3 fails with install latest #323

Open
ylluminate opened this issue Dec 2, 2022 · 5 comments

Comments

@ylluminate
Copy link

$ asdf install ruby latest
To follow progress, use 'tail -f /var/folders/qt/ym5k8frn5x12m5cmc9fn087r0000gn/T/ruby-build.20221202174504.62275.log' or pass --verbose
Downloading openssl-3.0.7.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/83049d042a260e696f62406ac5c08bf706fd84383f945cf21bd61e9ed95c396e
Installing openssl-3.0.7...
Installed openssl-3.0.7 to /Users/user/.asdf/installs/ruby/3.1.3

Downloading ruby-3.1.3.tar.gz...
-> https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.3.tar.gz
Installing ruby-3.1.3...
ruby-build: using readline from homebrew
ruby-build: using gmp from homebrew

BUILD FAILED (macOS 12.6.2 using ruby-build 20221124)

Inspect or clean up the working tree at /var/folders/qt/ym5k8frn5x12m5cmc9fn087r0000gn/T/ruby-build.20221202174504.62275.R9nz9x
Results logged to /var/folders/qt/ym5k8frn5x12m5cmc9fn087r0000gn/T/ruby-build.20221202174504.62275.log

Last 10 log lines:
	from ./tool/rbinstall.rb:899:in `block in install'
	from ./tool/rbinstall.rb:713:in `no_write'
	from ./tool/rbinstall.rb:899:in `install'
	from ./tool/rbinstall.rb:1060:in `block (2 levels) in <main>'
	from ./tool/rbinstall.rb:1044:in `foreach'
	from ./tool/rbinstall.rb:1044:in `block in <main>'
	from ./tool/rbinstall.rb:1116:in `block in <main>'
	from ./tool/rbinstall.rb:1113:in `each'
	from ./tool/rbinstall.rb:1113:in `<main>'
make: *** [do-install-all] Error 1

Full log: ruby-build.20221202174504.62275.log

@joseneto
Copy link

Same here, I can install the 3.2.2 but its failed when I try install the 3.1.3

@DarlonHenrique
Copy link

same here, apple macbook pro m3

BUILD FAILED (macOS 14.4 on arm64 using ruby-build 20240709.1)

@ylluminate
Copy link
Author

@jdx would you happen to have any thoughts here? My issues with Ruby and asdf have been in context of using with Mise, but I'm doubtful they actually have to do with Mise.

@jdx
Copy link

jdx commented Jul 9, 2024

definitely nothing to do with asdf, mise, or asdf-ruby

@DarlonHenrique
Copy link

i solve the issue for me running the commands to install the system dependencies listed here: https://github.com/rbenv/ruby-build/wiki#suggested-build-environment

in my case using using a MacOs 14.5 (23F79) was that commands:

# install Xcode Command Line Tools
xcode-select --install
# install dependencies with Homebrew
brew install openssl@3 readline libyaml gmp

after that i remove the plugin

asdf plugin remove ruby
# asdf plugin remove erlang

and add again with

asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants