rbenv / ruby-build

A tool to download, compile, and install Ruby on Unix-like systems.
https://rbenv.org/man/ruby-build.1
MIT License
3.89k stars 785 forks source link

Update cruby to include 3.X.X CVE patches #2369

Closed bermannoah closed 7 months ago

bermannoah commented 7 months ago

Hopefully this is the right way to go about this! Updating to include the security fixes released today:

==> Installing ruby-3.3.1...
ruby-build: using libyaml from homebrew
ruby-build: using gmp from homebrew
-> ./configure --prefix=/tmp/rubies/3.3.1 --with-openssl-dir=/opt/homebrew/opt/openssl@3 --enable-shared --with-libyaml-dir=/opt/homebrew/opt/libyaml --with-gmp-dir=/opt/homebrew/opt/gmp --with-ext=openssl,psych,+
-> make -j 10
-> make install
==> Installed ruby-3.3.1 to /tmp/rubies/3.3.1

/tmp/rubies/3.3.1/bin/ruby -v
ruby 3.3.1 (2024-04-23 revision c56cd86388) [arm64-darwin23]
==> Installing ruby-3.2.4...
ruby-build: using readline from homebrew
ruby-build: using libyaml from homebrew
ruby-build: using gmp from homebrew
-> ./configure --prefix=/tmp/rubies/3.2.4 --with-openssl-dir=/opt/homebrew/opt/openssl@3 --enable-shared --with-readline-dir=/opt/homebrew/opt/readline --with-libyaml-dir=/opt/homebrew/opt/libyaml --with-gmp-dir=/opt/homebrew/opt/gmp --with-ext=openssl,psych,+
-> make -j 10
-> make install
==> Installed ruby-3.2.4 to /tmp/rubies/3.2.4

/tmp/rubies/3.2.4/bin/ruby -v
ruby 3.2.4 (2024-04-23 revision af471c0e01) [arm64-darwin23]
==> Installing ruby-3.1.5...
ruby-build: using readline from homebrew
ruby-build: using libyaml from homebrew
ruby-build: using gmp from homebrew
-> ./configure --prefix=/tmp/rubies/3.1.5 --with-openssl-dir=/opt/homebrew/opt/openssl@3 --enable-shared --with-readline-dir=/opt/homebrew/opt/readline --with-libyaml-dir=/opt/homebrew/opt/libyaml --with-gmp-dir=/opt/homebrew/opt/gmp --with-ext=openssl,psych,+
-> make -j 10
-> make install
==> Installed ruby-3.1.5 to /tmp/rubies/3.1.5

/tmp/rubies/3.1.5/bin/ruby -v
ruby 3.1.5p252 (2024-04-23 revision 1945f8dc0e) [arm64-darwin23]
==> Installing ruby-3.0.7...
ruby-build: using readline from homebrew
ruby-build: using libyaml from homebrew
ruby-build: using gmp from homebrew
-> ./configure --prefix=/tmp/rubies/3.0.7 --with-openssl-dir=/opt/homebrew/opt/openssl@1.1 --enable-shared --with-readline-dir=/opt/homebrew/opt/readline --with-libyaml-dir=/opt/homebrew/opt/libyaml --with-gmp-dir=/opt/homebrew/opt/gmp --with-ext=openssl,psych,+
-> make -j 10
-> make install
==> Installed ruby-3.0.7 to /tmp/rubies/3.0.7

/tmp/rubies/3.0.7/bin/ruby -v
ruby 3.0.7p220 (2024-04-23 revision 724a071175) [arm64-darwin23]
bermannoah commented 7 months ago

Never mind! Done in #2370 :)

hsbt commented 7 months ago

@bermannoah Ah, sorry. I missed your PR. Thanks for your effort ❤️

bermannoah commented 7 months ago

All good! Just glad ruby-build's updated.