Commit graph

2475 commits

Author SHA1 Message Date
Charles Oliver Nutter
a259f9e141 Update JRuby to 9.4.12.0 2025-02-11 15:19:05 -06:00
Hiroshi SHIBATA
65c7d80a66
ruby-build 20250205 2025-02-05 09:18:01 +09:00
GitHub Actions Bot
c8f41450e9 Added 3.2.7 with OpenSSL 3.0.15 2025-02-04 12:33:50 +00:00
Hiroshi SHIBATA
31fa406e7d
ruby-build 20250130 2025-01-30 08:37:54 +09:00
Hiroshi SHIBATA
e178c73247
Merge pull request #2506 from headius/jruby-9.4.11.0
Add JRuby 9.4.11.0
2025-01-30 08:37:29 +09:00
Charles Oliver Nutter
fd1ecfc2e7 Add JRuby 9.4.11.0 2025-01-29 12:40:54 -06:00
Benoit Daloze
d5453a162d ruby-build 20250127 2025-01-27 13:36:11 +01:00
Benoit Daloze
af06991462 Add TruffleRuby and TruffleRuby GraalVM 24.1.2 2025-01-27 13:35:57 +01:00
Mislav Marohnić
1db199c642
Merge pull request #2502 from rbenv/sha2-openssl
compute_sha2: drop support for OS X Leopard
2025-01-22 22:32:59 +01:00
Mislav Marohnić
eabf640863
compute_sha2: drop support for OS X Leopard
When computing the SHA-2 checksum, `openssl dgst` is a potential candidate if
openssl was found in PATH. Previously, openssl from Homebrew would also get
explicitly added to the candidates list because, historically, Homebrew did not
link it to PATH, OS X Leopard did not have `shasum`, and system openssl could
not calculate sha256 checksums.

This drops support for OS X Leopard which last had an update 15 years ago.

Ref. b396ad7cd1
2025-01-22 13:27:25 +01:00
Mislav Marohnić
fdcfac8d42
rbenv install: fix substituting $HOME with "~" (#2501)
Depending on bash version, the expression `${var/$HOME\//~/}` will not have
effect because the "~" character in the replacement expression is expanded.

The updated approach is a bit of a mouthful, but it avoids using "~" in a
substitution pattern, while also guarding against values of HOME that are
blank or when HOME is literally just "/".
2025-01-21 22:11:40 +01:00
Mislav Marohnić
3643c8edf3
Merge pull request #2432 from piperswe/fix-nonexistent-version
Allow "nonexistent version" test to work without brew
2025-01-21 22:06:52 +01:00
Piper McCorkle
434ce5f6fd
Allow "nonexistent version" test to work without Git repo
Currently, this test fails if .git isn't present as it expects a
Git-specific output. This change temporarily creates a ".git"
directory during the test run to simulate the existence of a git
repository, thus keeping `rbenv install` output stable.

Co-authored-by: Mislav Marohnić <git@mislav.net>
2025-01-21 21:47:16 +01:00
Mislav Marohnić
3366b3bff2
ruby-build 20250121 2025-01-21 20:48:38 +01:00
Mislav Marohnić
883e8960a1
Merge pull request #2500 from headius/jruby-9.4.10.0
Add JRuby 9.4.10.0
2025-01-21 20:47:24 +01:00
Charles Oliver Nutter
058acd9530 Add JRuby 9.4.10.0 2025-01-21 12:04:39 -06:00
Mislav Marohnić
fe8c6c26c6 Improve test output for failed stubs 2025-01-15 15:24:07 +01:00
Benoit Daloze
5d0b95764b Improve test for building OpenSSL under macOS
Co-authored-by: Mislav Marohnić <git@mislav.net>
2025-01-15 15:22:21 +01:00
Benoit Daloze
4b363d67d5 Simplify logic for rpath, the comma syntax is supported by all compilers
* From https://github.com/rbenv/ruby-build/pull/2496/files#r1915751424
2025-01-15 15:22:21 +01:00
Hiroshi SHIBATA
644d2940e6
ruby-build 20250115 2025-01-15 17:49:45 +09:00
GitHub Actions Bot
0266cb6ba8 Added 3.3.7 with OpenSSL 3.0.15 2025-01-15 08:18:06 +00:00
Mislav Marohnić
f6628c3d1f
ruby-build 20250114 2025-01-14 23:40:13 +01:00
Mislav Marohnić
c80418d6ef
Merge pull request #2496 from rbenv/openssl-rpath-clang
Fix installing OpenSSL on non-Linux or with clang
2025-01-14 23:38:47 +01:00
Mislav Marohnić
afb5dcc402
Fix installing OpenSSL on non-Linux or with clang
The recent rpath argument addition broke compilation of OpenSSL with clang since
it seems expect this syntax (comma instead of "="):

    -Wl,-rpath,<path>

Also, it doesn't seem that the rpath argument is necessary for any platform other
than "Linux"; that is, we should skip passing it on BSD and macOS.
2025-01-14 23:32:57 +01:00
Mislav Marohnić
068c4047cf
Fix library lookup path in the vendored OpenSSL (#2493)
* Fix library lookup path in the vendored OpenSSL

When a vendored OpenSSL is needed for compiling Ruby, that OpenSSL installation
ends up with its `bin/openssl` executable broken due to not finding "libssl.so"
and "libcrypto.so" in the global load path for libraries. This doesn't seem to
negatively affect the Ruby "openssl" extension, but is a broken OpenSSL install
nevertheless.

This change causes the `bin/openssl` executable and related shared libraries to
be built with an "RPATH" pointing to the "lib" directory of the vendored OpenSSL.

* fix test
2025-01-11 15:15:26 +01:00
Hiroshi SHIBATA
47c9d904d5
Merge pull request #2483 from kou029w/master
Add `-f` flag to curl for HTTP error handling
2025-01-10 16:39:49 +09:00
Kohei Watanabe
eb6e4ccca4
Add -f flag to curl for HTTP error handling
Ensures that the command fails when an HTTP error (e.g., 404) occurs.
2024-12-25 20:05:16 +09:00
Hiroshi SHIBATA
b5ade6192c
ruby-build 20241225.2 2024-12-25 18:02:54 +09:00
Hiroshi SHIBATA
bb1220ce3f
Merge pull request #2482 from rbenv/add-3-4-dev
Added 3.4-dev and 3.5-dev
2024-12-25 18:02:36 +09:00
Hiroshi SHIBATA
b80d8ec703
Added 3.4-dev and 3.5-dev 2024-12-25 18:00:45 +09:00
Hiroshi SHIBATA
bef114515a
Merge pull request #2481 from rbenv/fix-3-4-1-sha2
Fixed 3.4.1 checksum
2024-12-25 17:59:27 +09:00
Hiroshi SHIBATA
ab2baa762a
Fixed sha256 value of 3.4.1 2024-12-25 17:57:29 +09:00
Hiroshi SHIBATA
62b63dbb12
ruby-build 20241225.1 2024-12-25 17:42:03 +09:00
GitHub Actions Bot
02a0302a8e Added 3.4.1 with OpenSSL 3.0.15 2024-12-25 08:40:18 +00:00
Hiroshi SHIBATA
554dda2dcb
ruby-build 20241225 2024-12-25 15:43:43 +09:00
Hiroshi SHIBATA
ea9044534a
Merge pull request #2480 from rbenv/3-4-0
Prepare to release Ruby 3.4.0
2024-12-25 15:40:56 +09:00
Hiroshi SHIBATA
a57a1a8987
Prepare to release Ruby 3.4.0 2024-12-25 15:38:45 +09:00
Hiroshi SHIBATA
b933c682ac
Merge pull request #2479 from rbenv/removed-unofficial-version
Removed unofficial releases
2024-12-23 12:09:25 +09:00
Hiroshi SHIBATA
276e627cfd
1.8.7-p375 and 1.9.2-p326 are not the official releases of Ruby core team. 2024-12-20 13:43:01 +09:00
Hiroshi SHIBATA
5a5358797d
ruby-build 20241213 2024-12-13 07:51:28 +09:00
Hiroshi SHIBATA
b43f5dd9a0
Merge pull request #2477 from rbenv/update-latest-openssl
Update OpenSSL 3.0.15
2024-12-13 07:50:47 +09:00
Hiroshi SHIBATA
abf3c331b2
Update OpenSSL 3.0.15 2024-12-13 07:49:38 +09:00
GitHub Actions Bot
3692e6c316 Added 3.4.0-rc1 with OpenSSL 3.0.14 2024-12-12 21:23:40 +00:00
Mislav Marohnić
7ccb143c90
Merge pull request #2471 from rbenv/ruby-3.1-soon-eol
Warn that Ruby 3.1 support ends in less than 6 months
2024-11-15 21:13:36 +01:00
Mislav Marohnić
8b727cae5e
Warn that Ruby 3.1 support ends in less than 6 months 2024-11-15 17:03:28 +01:00
Benoit Daloze
6c937c819c Add an environment variable to always build openssl/libssl
* This is useful when one wants to avoid depending e.g. on which openssl version
  is installed in Homebrew, notably for https://github.com/ruby/setup-ruby/issues/668
2024-11-13 14:27:42 +01:00
Benoit Daloze
20496b54b6 Suggest to install rubies in a user-writable directory in the README
Otherwise `gem install` and `bundle install` (without `--path`) won't work without `sudo`.
In fact the previous example install command wouldn't work at all without `sudo`.
2024-11-06 12:17:55 +01:00
Benoit Daloze
ac39910944 Clarify --list and --definitions in the README
The previous docs would make users think only a few Ruby versions were available.
2024-11-06 10:26:53 +01:00
Mislav Marohnić
87c272cd57
Merge pull request #2462 from rbenv/named-pipes
Allow named pipes as build definition argument
2024-11-05 23:43:02 +01:00
Mislav Marohnić
1ab17dad3d
Merge pull request #2461 from rbenv/openssl-version-check
Avoid array subscript error when checking OpenSSL versions
2024-11-05 23:42:34 +01:00