Commit graph

2567 commits

Author SHA1 Message Date
Benoit Daloze
65a6833849 ruby-build 20251117 2025-11-17 15:09:39 +01:00
Koichi ITO
5c1282c1d5 Add definition for Ruby 4.0.0-preview2
Ruby 4.0.0-preview2 has been released.
https://www.ruby-lang.org/en/news/2025/11/17/ruby-4-0-0-preview2-released/
2025-11-17 15:09:28 +01:00
Mislav Marohnić
dd6ffec29d
Merge pull request #2582 from koic/rename_3_5_dev_to_4_0_dev
Rename 3.5-dev to 4.0-dev
2025-11-09 14:11:55 +01:00
Koichi ITO
e47cc2a7a5 Rename 3.5-dev to 4.0-dev
The upcoming version has been updated from Ruby 3.5 to Ruby 4.0.
6d81969b47

A Ruby built with ruby-build's 3.5-dev already shows version 4.0.0dev.

```console
$ rbenv install 3.5-dev
(snip)

$ ruby -v
ruby 4.0.0dev (2025-11-08T11:52:39Z master 4365c4fb6b) +PRISM [arm64-darwin24]
```

Therefore, it would make sense to make it installable with `rbenv install 4.0-dev`.

NOTE: Since there was no `rbenv install 2.8-dev` before it was updated to `rbenv install 3.0-dev`,
`3.5-dev` is not kept either.
2025-11-09 01:39:11 +09:00
Hiroshi SHIBATA
447468b1b9
ruby-build 20251023 2025-10-23 20:24:15 +09:00
GitHub Actions Bot
2439f44a13 Added 3.3.10 with OpenSSL 3.0.18 2025-10-23 10:56:56 +00:00
Hiroshi SHIBATA
da5bb283df
ruby-build 20251008 2025-10-08 09:10:25 +09:00
GitHub Actions Bot
876cdf3b11 Added 3.4.7 with OpenSSL 3.0.18 2025-10-07 21:00:36 +00:00
Mislav Marohnić
a71c27a9e7
ruby-build 20250925 2025-09-25 13:57:06 +02:00
Mislav Marohnić
a5e7ec95cf
Merge pull request #2573 from rbenv/fix-warning
Fixes "integer expression expected" error
2025-09-25 13:53:54 +02:00
Mislav Marohnić
cf383ac114
Fixes "integer expression expected" error
This happens while compiling OpenSSL or any other non-Ruby package:

    ruby-build: line 723: [: : integer expression expected

This was because $ruby_semver was checked as a numeric value but was never set.
2025-09-25 13:50:49 +02:00
Benoit Daloze
d9725557c6 ruby-build 20250916.1 2025-09-16 18:30:45 +02:00
Benoit Daloze
69671d0312 Add TruffleRuby and TruffleRuby GraalVM 25.0.0 2025-09-16 18:29:50 +02:00
Hiroshi SHIBATA
58d14974bc
ruby-build 20250916 2025-09-16 09:15:53 +09:00
Hiroshi SHIBATA
e18c47dbb3
Merge pull request #2569 from rbenv/drop-default-mirror
Drop the default package mirror
2025-09-16 09:15:27 +09:00
GitHub Actions Bot
2f5f2fc35d Added 3.4.6 with OpenSSL 3.0.17 2025-09-15 23:55:44 +00:00
Jeremy Daer
df045bdc07 Drop the default package mirror
37signals are dropping AWS, which means goodbye to S3 and CloudFront.

The CloudFront mirror (dqw8nmjcqpjn7.cloudfront.net) was introduced ages
ago to address intermittent unavailability from some upstream sources.
These days, it mainly serves non-MRI packages like OpenSSL and libyaml.

Ruby releases are now served by Fastly (cache.ruby-lang.org) which has
bypassed the ruby-build mirror since 2015. Other sources (GitHub, RubyGems,
Maven) have their own CDNs.

This change removes the default `RUBY_BUILD_MIRROR_URL` and S3 release
mirroring. Custom mirror support remains.
2025-09-12 09:49:34 -07:00
Mislav Marohnić
ab15bd535f
ruby-build 20250908 2025-09-08 19:20:07 +02:00
Mislav Marohnić
93a20ae5cf
Merge pull request #2568 from rbenv/normalize-semver
Fix using system openssl v1.x via pkg-config
2025-09-08 19:18:47 +02:00
Mislav Marohnić
28563f38a3
Fix using system openssl v1.x with pkg-config
System openssl version reported by `pkg-config --modversion openssl` might end
with a letter, e.g. "1.0.2k", due to OpenSSL versioning policy prior to OpenSSL v3:
https://www.openssl-library.org/policies/general/versioning-policy/#history

The letter would trip up the normalize_semver function due to it only handling numbers.

This change switches to semver parsing via awk instead of doing it clumsily in
bash.  This also changes the multiplication factor of major version numbers,
from 100000 to 10000, and adjusts static version comparisons accodingly.
2025-09-08 19:07:28 +02:00
Hiroshi SHIBATA
2d5ef5b4b0
ruby-build 20250829 2025-08-29 08:24:24 +09:00
Hiroshi SHIBATA
4d0976edaf
Merge pull request #2564 from headius/jruby-9.4.14.0
Add JRuby 9.4.14.0
2025-08-29 08:23:54 +09:00
Charles Oliver Nutter
20feade32a Add JRuby 9.4.14.0 2025-08-28 14:56:16 -05:00
Mislav Marohnić
7557753f53
Merge pull request #2563 from rbenv/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-08-25 16:57:37 +02:00
dependabot[bot]
8cf2e7c63f
Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 13:56:10 +00:00
Mislav Marohnić
3a666a1c2c
Merge pull request #2562 from rbenv/brew-prefix-fix
Fix linking to Homebrew OpenSSL
2025-08-14 12:36:39 +02:00
Mislav Marohnić
95b887330e
Fix linking to Homebrew OpenSSL 2025-08-14 12:33:22 +02:00
Mislav Marohnić
fd0460e858
Merge pull request #2560 from rbenv/jruby-9.3
Fix regression in JRuby 9.3
2025-08-12 13:56:59 +02:00
Nicolas Bachschmidt
fd0f332f06
Consult pkg-config when detecting system OpenSSL (#2547)
Skip downloading and building OpenSSL if a compatible version was found with pkg-config, but only if that openssl version isn't under Homebrew's "cellar".

---------

Co-authored-by: Mislav Marohnić <git@mislav.net>
2025-08-12 13:56:42 +02:00
Mislav Marohnić
986c1e373e
Fix regression in JRuby 9.3
Commit f661b64cab that restores `bin/jruby.sh` for
all JRuby versions has an undesired effect on JRuby 9.3 when it pulls in
jruby-launcher v2. Since JRuby 9.3 is EOL and won't get a fix for this, at least
attempt to fix this in ruby-build since until recently JRuby 9.3 worked.

The fix is that JRuby 9.3 (and only those versions) are not allowed to install
jruby-launcher versions 2.0 or greater.
2025-08-11 16:03:12 +02:00
Mislav Marohnić
266b94f278
ruby-build 20250811 2025-08-11 15:46:25 +02:00
Mislav Marohnić
5710b5a2da
Merge pull request #2559 from rbenv/jruby-eol
Mark JRuby versions 9.2 through 9.3 as EOL
2025-08-11 15:46:09 +02:00
Mislav Marohnić
e5a86c3537
Mark JRuby versions 9.2 through 9.3 as EOL 2025-08-11 15:41:50 +02:00
Mislav Marohnić
e7b46cabe6
update-eol script now with JRuby support 2025-08-11 15:40:57 +02:00
Mislav Marohnić
f2ebf449b4
Merge pull request #2558 from headius/jruby-10.0.2.0
Udate JRuby 10.0.2.0
2025-08-11 15:16:07 +02:00
Charles Oliver Nutter
7c4c322e52 Udate JRuby 10.0.2.0 2025-08-07 19:49:45 +03:00
Hiroshi SHIBATA
a97e10ff10
ruby-build 20250724 2025-07-24 20:38:15 +09:00
GitHub Actions Bot
502daaad46 Added 3.3.9 with OpenSSL 3.0.17 2025-07-24 10:49:47 +00:00
GitHub Actions Bot
da57379f3b Added 3.2.9 with OpenSSL 3.0.17 2025-07-24 09:02:55 +00:00
Hiroshi SHIBATA
a453157eb8
Merge pull request #2555 from headius/jruby-10.0.1.0
Add JRuby 10.0.1.0
2025-07-18 06:57:31 +09:00
Charles Oliver Nutter
666b29092a Add JRuby 10.0.1.0 2025-07-17 13:27:15 -05:00
Hiroshi SHIBATA
d037c38abb
ruby-build 20250716 2025-07-16 09:29:50 +09:00
GitHub Actions Bot
cca2aedae9 Added 3.4.5 with OpenSSL 3.0.17 2025-07-15 17:04:10 +00:00
Mislav Marohnić
205bea6a9b
Fix Fedora version check when VERSION_ID is decimal (#2549)
This fixes RHEL builds where VERSION_ID=7.9
2025-06-30 17:16:09 +02:00
Mislav Marohnić
72aae41d57
Fix Fedora version check when VERSION_ID is decimal
This fixes RHEL builds where VERSION_ID=7.9
2025-06-30 17:14:22 +02:00
|7eter l-|. l3oling
5693b62d54
Allow installation of Ruby 2.7, 3.0, 3.1 on Fedora >= 42 (#2543)
Fedora 42+ has updated to GCC v15. GCC v15 changed the default
mode from gnu17 to gnu23: https://gcc.gnu.org/gcc-15/changes.html#c

Ruby < 3.2 can't compile on GCC v15 in the default mode of gnu23.

Fixes https://github.com/rbenv/ruby-build/issues/2542

---------

Co-authored-by: Mislav Marohnić <git@mislav.net>
2025-06-26 01:26:07 +02:00
Mislav Marohnić
1195268593
ruby-build 20250610 2025-06-10 22:38:55 +02:00
Charles Oliver Nutter
f415fe41bd
Add JRuby 9.4.13.0 (#2540) 2025-06-10 22:38:22 +02:00
Benoit Daloze
5fedc1fc56 ruby-build 20250529.1 2025-05-29 00:12:45 +02:00
Benoit Daloze
d555c5de6b Rename package name to truffleruby-dev for consistency with the definition filename 2025-05-29 00:11:10 +02:00