Commit graph

2499 commits

Author SHA1 Message Date
Randy Stauner
c6ec50f8a5 Update truffleruby-dev to use newer ubuntu download
The latest release no longer includes 20.04
https://github.com/ruby/truffleruby-dev-builder/releases/tag/v20250424.114841
2025-04-24 22:39:42 +02:00
なつき
f5b18da294 Fix test 2025-04-18 15:09:22 +08:00
なつき
e90abc41aa Honor $JAVA_HOME in require_java 2025-04-18 15:09:22 +08:00
Hiroshi SHIBATA
e1393bad0e
ruby-build 20250418 2025-04-18 10:00:11 +09:00
Hiroshi SHIBATA
9e23851d8a
Merge pull request #2522 from rbenv/3-5-0-preview1
Add 3.5.0-preview1
2025-04-18 09:58:16 +09:00
Hiroshi SHIBATA
ae55e0c66a
Add 3.5.0-preview1 2025-04-18 09:56:49 +09:00
Hiroshi SHIBATA
7dffe09db7
ruby-build 20250415 2025-04-15 10:32:16 +09:00
Hiroshi SHIBATA
4cdc5a720f
Bump up required java version to 21 for JRuby 10 2025-04-15 10:31:19 +09:00
Hiroshi SHIBATA
6296f2a4b4
Merge pull request #2520 from headius/jruby-10
Add JRuby 10.0.0.0
2025-04-15 10:30:32 +09:00
Charles Oliver Nutter
4880c6abb7 Add JRuby 10.0.0.0 2025-04-15 07:19:47 +09:00
GitHub Actions Bot
cf8ade5d34 Added 3.4.3 with OpenSSL 3.0.16 2025-04-14 16:44:39 +00:00
Hiroshi SHIBATA
cae502a444
ruby-build 20250409 2025-04-09 20:38:36 +09:00
GitHub Actions Bot
911a81f87d Added 3.3.8 with OpenSSL 3.0.16 2025-04-09 11:25:48 +00:00
Mislav Marohnić
bc1a47dac2
Merge pull request #2517 from headius/patch-1
Don't delete jruby.sh
2025-04-03 16:54:48 +02:00
Charles Oliver Nutter
f661b64cab
Don't delete jruby.sh
I'm not sure why this file was being deleted but this code dates way back! Unfortunately deleting this interferes with a new version of the native JRuby launcher we want to release which is dependent on the shell script being present. This PR removes jruby.sh from the `remove_windows_files` function so it can be used by the new launcher.

See https://github.com/jruby/jruby-launcher/pull/48#issuecomment-2772272290
2025-04-02 12:42:27 -05:00
Hiroshi SHIBATA
2334633d60
ruby-build 20250326 2025-03-26 14:47:28 +09:00
GitHub Actions Bot
1923dcd08f Added 3.2.8 with OpenSSL 3.0.16 2025-03-26 05:43:20 +00:00
GitHub Actions Bot
ed17d32a81 Added 3.1.7 with OpenSSL 3.0.16 2025-03-26 05:42:16 +00:00
Benoit Daloze
88dd8dbfef ruby-build 20250318 2025-03-18 13:58:34 +01:00
Benoit Daloze
ca6aca4418 Add TruffleRuby and TruffleRuby GraalVM 24.2.0 2025-03-18 13:58:16 +01:00
Hiroshi SHIBATA
cb9c1decb3
ruby-build 20250215 2025-02-15 07:35:48 +09:00
GitHub Actions Bot
3561ecaba6 Added 3.4.2 with OpenSSL 3.0.16 2025-02-14 22:27:12 +00:00
Hiroshi SHIBATA
20f209a092
ruby-build 20250212 2025-02-12 09:03:43 +09:00
Hiroshi SHIBATA
b3ab1fc033
Merge pull request #2509 from headius/jruby-9.4.12.0
Update JRuby to 9.4.12.0
2025-02-12 09:03:03 +09:00
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