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
Updating ruby to master
Already on 'master'
Your branch is up to date with 'origin/master'.
# asdf install ruby 3.1.2
Downloading openssl-3.0.5.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/aa7d8d9bef71ad6525c55ba11e5f4397889ce49c2c9349dcea6d3e4f0b024a7a
Installing openssl-3.0.5...
Installed openssl-3.0.5 to /Users/asuen/.asdf/installs/ruby/3.1.2
Downloading ruby-3.1.2.tar.gz...
-> https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.2.tar.gz
Installing ruby-3.1.2...
ruby-build: using readline from homebrew
BUILD FAILED (macOS 12.5 using ruby-build 20220726)
Inspect or clean up the working tree at /var/folders/dt/c4qrxscx2575pdycxkxqgpb40000gn/T/ruby-build.20220815164602.55804.uPxSX4
Results logged to /var/folders/dt/c4qrxscx2575pdycxkxqgpb40000gn/T/ruby-build.20220815164602.55804.log
Last 10 log lines:
^
In file included from compile.c:40:
./vm_callinfo.h:216:16: error: use of undeclared identifier 'RUBY_FUNCTION_NAME_STRING'
if (debug) rp(ci);
^
./internal.h:94:72: note: expanded from macro 'rp'
#define rp(obj) rb_obj_info_dump_loc((VALUE)(obj), __FILE__, __LINE__, RUBY_FUNCTION_NAME_STRING)
^
2 errors generated.
make: *** [compile.o] Error 1
I also tried permutations of optflags=-Wno-error=implicit-function-declaration / ASDF_RUBY_BUILD_VERSION=v20220630 from #285 and RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])" from #258 none of it affected the problem.
The text was updated successfully, but these errors were encountered:
I just ran into this same issue when trying to install version 3.3.3. After a bunch of searching I came across this answer on StackOverflow that did the trick.
# sw_vers
# asdf ---version
# asdf plugin-update ruby
# asdf install ruby 3.1.2
I also tried permutations of
optflags=-Wno-error=implicit-function-declaration
/ASDF_RUBY_BUILD_VERSION=v20220630
from #285 andRUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])"
from #258 none of it affected the problem.The text was updated successfully, but these errors were encountered: