Unable to install Ruby 3.2.0 #2118
-
So I run
and this is the error I get
|
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 17 replies
-
You should install libyaml libraries and development header from package system like homebrew. |
Beta Was this translation helpful? Give feedback.
-
ruby-3.2.0/lib/yaml.rb instead Environment
|
Beta Was this translation helpful? Give feedback.
-
I had the same issue on CentOS, and running |
Beta Was this translation helpful? Give feedback.
-
Steps I followed:
|
Beta Was this translation helpful? Give feedback.
-
Without installing libyaml, I can not install 3.2.0. steps work for me (I did not install libyaml-devel)
environment:
|
Beta Was this translation helpful? Give feedback.
-
I had the same issue, maybe useful to someone: Add psych to your gemfile, and specify the version to be below 4, because v4 has a bug. Add to gemfile: gem 'psych', '< 4' Then run |
Beta Was this translation helpful? Give feedback.
-
In fedora I just need to update ruby-build: |
Beta Was this translation helpful? Give feedback.
-
Running this command before the installation of ruby 3.2.0 worked for me in Ubuntu 22.04: |
Beta Was this translation helpful? Give feedback.
-
kept failing as well for me, it was hard to look at the log, because its running on docker build. |
Beta Was this translation helpful? Give feedback.
-
On Catalina
|
Beta Was this translation helpful? Give feedback.
-
If you run into this problem on Red Hat Enterprise Linux 9, you have to install the following packages:
Note this will install |
Beta Was this translation helpful? Give feedback.
-
M2 with Sonoma, This worked for me: TaKO8Ki/frum#126 (comment) |
Beta Was this translation helpful? Give feedback.
-
How about 3.2.2 ? there is no reason to install 3.2.0 anymore ? |
Beta Was this translation helpful? Give feedback.
You should install libyaml libraries and development header from package system like homebrew.