Ruby 3.2.4, GRPC 1.74.0 Segmentation fault

2 months ago 10
ARTICLE AD BOX

So, that's my solution and I foresee it might be useful for others facing similar issues on Mac. I recently switched from Linux and everything seems to be so buggy here ;)

I have experimented with different versions of this gem for some time and found out that the next patch version works just fine for me. So, as a temporary solution, cause updating the whole project's dependencies would be a huge step, I did the following:

# Checking the current gem installation path bundle show grpc <myhomedir>/.asdf/installs/ruby/3.2.4/lib/ruby/gems/3.2.0/gems/grpc-1.74.0-arm64-darwin # Installing the next patch version of the gem gem install grpc --version=1.74.1 --platform=arm64-darwin # Removing the old version rm -rf <myhomedir>/.asdf/installs/ruby/3.2.4/lib/ruby/gems/3.2.0/gems/grpc-1.74.0-arm64-darwin # Faking the new version to act like a previous version via a symlink ln -s <myhomedir>/.asdf/installs/ruby/3.2.4/lib/ruby/gems/3.2.0/gems/grpc-1.74.1-arm64-darwin <myhomedir>/.asdf/installs/ruby/3.2.4/lib/ruby/gems/3.2.0/gems/grpc-1.74.0-arm64-darwin

It all started to work now.

Feel free to suggest your workarounds for the situations like that.

zinovyev's user avatar

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.

Read Entire Article