Commit graph

2556 commits

Author SHA1 Message Date
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
Benoit Daloze
eee8af5a6b Use truffleruby-dev-builder for all platforms for truffleruby-dev and truffleruby+graalvm-dev
* Since linux-aarch64 is also available on GitHub Actions now.
2025-05-29 00:11:10 +02:00
Jason Karns
c21b26f4d6
Merge pull request #2537 from jasonkarns/custom-defs
Document examples of using custom defs
2025-05-24 11:32:06 -04:00
Jason Karns
77bd50f8ed
Readme gains examples of installing custom defs
Add examples of passing a custom build definition file in place of a
'known' ruby version. This is meant to more clearly document how users
might use a custom build definition for a recently-released ruby that is
not yet bundled in ruby-build.

Additionally, document in the readme how to use `RUBY_BUILD_DEFINITIONS`
path environment variable to provide a _collection_ of custom build
definitions. This is meant to give guidance on how an organization might
share multiple custom build definitions, or downstream users of
ruby-build (like asdf-ruby) might publish unreleased rubies for
installation.

- quibbling over wording: custom build defs _are_ recognized by
  ruby-build, just not bundled or available out of the box.
2025-05-23 11:19:42 -04:00
Camden Narzt
d56e228615
Mark Ruby 3.1 as EOL (#2536)
Ruby 3.1 reached End of Life on 26 March 2025

Co-authored-by: Mislav Marohnić <git@mislav.net>
2025-05-18 11:39:11 +02:00
Jason Karns
0f0b4f5628
ruby-build 20250516 2025-05-16 09:13:02 -04:00
GitHub Actions Bot
87f57bb7a8 Added 3.4.4 with OpenSSL 3.0.16 2025-05-14 18:10:39 +00:00
Mislav Marohnić
bd4d980691
Merge pull request #2531 from rbenv/require_java-bump
Modify `update-jruby` script to require Java 21+ for JRuby 10+
2025-05-14 14:40:53 +02:00
Mislav Marohnić
a62c24c45b
Modify update-jruby script to require Java 21+ for JRuby 10+ 2025-05-07 20:17:42 +02:00
Mislav Marohnić
7c0b13b355
ruby-build 20250507 2025-05-07 20:08:15 +02:00
Mislav Marohnić
a45de7c8ec
Merge pull request #2530 from headius/jruby-10.0.0.1-9.4.12.1
Add JRuby 10.0.0.1 and 9.4.12.1
2025-05-07 19:00:34 +02:00
Charles Oliver Nutter
9a4637fb45 Add JRuby 10.0.0.1 2025-05-07 11:56:57 -05:00