Skip to content

"use of undeclared identifier 'RUBY_FUNCTION_NAME_STRING'" when trying to install ruby 3.2.6 & 3.3.7, but 3.4.1 works without issue. #504

@Lasvad

Description

@Lasvad

Hi all,

Trying to figure out what's going on with my ruby install on a fresh M3 MacBook Air.

Whenever I try to install 3.2.2 (Currently used in my project), 3.2.6, 3.3.7, or 3.4.1 I get the same error when installing,,,

In file included from debug.c:27: ./vm_callinfo.h:216:16: error: use of undeclared identifier 'RUBY_FUNCTION_NAME_STRING' 216 | if (debug) rp(ci);

I've tried removing and reinstalling CommandLineTools, a number of PATH updates, brew installing dependencies but nothing seems to work. Its the first time I'm installing Ruby-install on a M-series chip, but generally on my previous intel machines (unsure if its related to arch but worth noting) Ruby-install just works.

I was planning to try and install openssl1.1 but look like this has been disabled

brew install openssl@1.1 ==> Downloading https://formulae.brew.sh/api/formula.jws.json ==> Downloading https://formulae.brew.sh/api/cask.jws.json Error: openssl@1.1 has been disabled because it is not supported upstream! It was disabled on 2024-10-24.
so I can't verify if that fixes it, currently have OpenSSL 3.4.0.

What's also strange is that when I tried installing 3.4.1, it worked. My plan currently is to just upgrade my project to this new version but I'm trying to understand what's happening and how to fix it for any future occurrences.

Please let me know what else I can provide to help understand/troubleshoot this issue.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions