Replies: 20 comments 4 replies
-
I could install psych on Apple Silicon.
|
Beta Was this translation helpful? Give feedback.
-
Yes, 3.2.0-preview3:
|
Beta Was this translation helpful? Give feedback.
-
I recommend to use Ruby 3.1.3 because 3.1.2 is not working correctly with Ventura/Xcode14 and Apple Silicon. |
Beta Was this translation helpful? Give feedback.
-
The failure is the same with Ruby 3.1.3 and Apple Silicon (+ I'm not using Ventura; this is macOS 12.6.1)
|
Beta Was this translation helpful? Give feedback.
-
There is no idea to resolve it. Maybe it related with It seems your environmental issue. |
Beta Was this translation helpful? Give feedback.
-
Literally just ran into this same issue on Ventura, M1. With ruby 3.0.5p211, and ruby 3.1.3p185 libyaml appears to be available...
And I can install version ~4 of psych.
But psych version ~5 isn't installable.
And in the
Interestingly, I see a similar issue when trying to install ruby 3.2.0.rc1, where I was going to check as well:
EDIT: Maybe I'm not seeing the same thing. It looks like for me libyaml yaml.h is just not being found, and I've tried providing it in a couple different ways when trying to build the native extension. |
Beta Was this translation helpful? Give feedback.
-
@hsbt It works if I do I noticed this line from I think this should just work as it does work using Is there some recent change to |
Beta Was this translation helpful? Give feedback.
-
I was facing the same issue ->
I believe after |
Beta Was this translation helpful? Give feedback.
-
@Sairav No, It's different issue. You should install |
Beta Was this translation helpful? Give feedback.
-
@dentarg I don't know what changes of |
Beta Was this translation helpful? Give feedback.
-
Thanks @hsbt , my issue was resolved by installing If it helps anyone , I was running
|
Beta Was this translation helpful? Give feedback.
-
I've run into this same issue. Apple Silicon with fresh install MacOS Ventura, with latest Ruby & XCode
|
Beta Was this translation helpful? Give feedback.
-
@colby-swandale Can you try with |
Beta Was this translation helpful? Give feedback.
-
Don't have an M1/silicon but getting the same thing on my MBP |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
This worked! Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi ~ Happy New Year
PS: MacOS Ventura 13.1 M1 Pro |
Beta Was this translation helpful? Give feedback.
-
This works for me But I'm running into this problem when I try to install ruby 3.2 also and breaks the entire installation 😕
|
Beta Was this translation helpful? Give feedback.
-
To fix this; I reinstalled/rebuilt ruby with the following configuration:
This worked for Ruby 3.1.2 and libyaml 0.2.5 (installed via homebrew) |
Beta Was this translation helpful? Give feedback.
-
if you use type and type:
complete successfull install version 3.2.0
|
Beta Was this translation helpful? Give feedback.
-
I have
libyaml
from Homebrew installed. It works when running Ruby with Rosetta 2 (arch -x86_64 /bin/zsh
).Issue seems to be
checking for yaml_get_version() in -lyaml... no
for arm64.Details:
arm64:
gem install --verbose psych
cat mkmf.log
x86_64:
gem install --verbose psych
Beta Was this translation helpful? Give feedback.
All reactions