Commit graph

994 commits

Author SHA1 Message Date
Mislav Marohnić
84bcde9fde
ruby-build 20260501 2026-05-01 12:26:22 +02:00
Jean Boussier
92d57fdbb6
Support building with version prefix (#2610)
* Support building with version prefix

Commonly in CI pipelines and other scripts, users may
want to install the latest from a specific series, e.g.
`3.4` or `jruby-10.0`.

```bash
$ bin/ruby-build 3.4 /tmp/3.4
...
Downloading ruby-3.4.9.tar.gz...

$ bin/ruby-build 4.0 /tmp/4.0
...
Downloading ruby-4.0.2.tar.gz...
```

Also support `--resolve`:

```bash
$ bin/ruby-build --resolve 3.4
3.4.9
```

* Improve version name resolution from prefix

- `ruby-build --resolve` now prints canonical definition names, always
  stripping the "ruby-" prefix from output (e.g. "ruby-3.4" => "3.4.9").

- Fix sorting versions so that "jruby" correctly resolves to "jruby-10.x"
  instead of to "jruby-9.x".

- Support bare "ruby" argument to select the latest CRuby version, since
  that was already possible for "jruby", "mruby", et al.

- Case-normalize version inputs so that arguments like "JRuby" or
  "TruffleRuby" resolve to their lowercase definitions.

- Simplify definition file lookup: all code paths now go through
  resolve_version.

- Restore the named-pipe + `--dir` check to correctly abort early.

- Update README and man page: bump Ruby version numbers in examples, add
  Ruby implementations section, document the `--resolve` option.

* Clarify what ruby-build considers to be "latest" Ruby version

* Print usage error message if `--resolve` wasn't passed an argument

---------

Co-authored-by: Mislav Marohnić <git@mislav.net>
2026-05-01 12:25:11 +02:00
Mislav Marohnić
20abbb0618
Add mruby-4.0.0 2026-04-29 17:18:23 +02:00
Benoit Daloze
f723aa7bf0 ruby-build 20260426 2026-04-26 23:37:45 +02:00
Benoit Daloze
9e2a72a666 Add TruffleRuby and TruffleRuby GraalVM 34.0.1 2026-04-26 23:32:02 +02:00
Hiroshi SHIBATA
1c4ddb5320
ruby-build 20260422 2026-04-22 10:15:49 +09:00
Mislav Marohnić
2b0f711360
Merge pull request #2614 from hasumikin/picoruby-3.4.2
Add PicoRuby 3.4.2 with new r2p2 executable
2026-04-21 20:20:27 +02:00
Charles Oliver Nutter
c11e986163 Add JRuby 10.1.0.0 2026-04-21 22:45:19 +09:00
GitHub Actions Bot
68a0d76e14 Added 4.0.3 with OpenSSL 3.0.20 2026-04-21 09:03:17 +00:00
Benoit Daloze
90b52b26b7 ruby-build 20260412 2026-04-12 14:18:21 +02:00
Benoit Daloze
9c5f2601be Add TruffleRuby and TruffleRuby GraalVM 34.0.0 2026-04-12 14:10:22 +02:00
HASUMI Hitoshi
d27dd19c24 Add PicoRuby 3.4.2 with new r2p2 executable
This commit adds PicoRuby 3.4.2 and introduces a new artifacts: r2p2.

Version numbering context:
PicoRuby's version numbers are aligned with mruby's VM code specification compatibility.
Version 3.4 indicates compatibility with mruby 3.4 VM code format, or RITE0300.
Version 3.4.2 indicates minor bug fix in PicoRuby.

Build artifact changes:
Starting from version 3.4.2, PicoRuby has replaced the irb executable with r2p2 executable(POSIX version of PicoRuby shell system including IRB).
The new build produces three executables:
- picoruby: main Ruby interpreter
- picorbc: Ruby bytecode compiler
- r2p2: interactive REPL (replaces picoirb)

Implementation:
- Added conditional symlink logic in `build_package_picoruby()`: symlinks picoirb as irb if present
  - If there's no picoirb in artifacts, symlink for irb is not created
- Added picoruby-3.4.2 definition file
2026-04-10 10:53:36 +09:00
Charles Oliver Nutter
0bdc2c78d0 Add JRuby 10.0.5.0 2026-04-06 13:28:41 -05:00
Hiroshi SHIBATA
d099da0514
ruby-build 20260327 2026-03-27 09:13:23 +09:00
GitHub Actions Bot
07deac8d23 Added 3.2.11 with OpenSSL 3.0.19 2026-03-26 23:58:29 +00:00
Benoit Daloze
c07e80e8b4 Darwin-x86_64 is no longer supported on TruffleRuby
* See https://github.com/truffleruby/truffleruby/issues/4011
2026-03-26 13:46:30 +01:00
Hiroshi SHIBATA
98609f51ae
ruby-build 20260326 2026-03-26 10:36:45 +09:00
GitHub Actions Bot
36d491d7b2 Added 3.3.11 with OpenSSL 3.0.19 2026-03-26 01:18:24 +00:00
mitto nagisa
24994156d7 fix openssl version requirement for ruby 4.0.2
relates #2598 #2601
2026-03-20 05:24:40 +09:00
Hiroshi SHIBATA
e0074453e0
ruby-build 20260317 2026-03-17 09:04:00 +09:00
GitHub Actions Bot
b436edf0bc Added 4.0.2 with OpenSSL 3.0.19 2026-03-16 23:36:52 +00:00
Hiroshi SHIBATA
6643698de6
ruby-build 20260311 2026-03-11 21:08:07 +09:00
GitHub Actions Bot
096c946c65 Added 3.4.9 with OpenSSL 3.0.19 2026-03-11 10:32:41 +00:00
Charles Oliver Nutter
60e0df794f Add JRuby 10.0.4.0 2026-03-04 10:31:48 -06:00
Mislav Marohnić
a6d4d3a023
ruby-build 20260222 2026-02-22 21:09:37 +01:00
Jean Boussier
23a3fa9f11 Support building from arbitrary git revision
While bisecting, or building a nightly Ruby CI and some other situations,
it is useful to be able to build a specific Ruby revision rather than
just the tip of Ruby's master branch.
2026-02-19 08:42:16 +01:00
Benoit Daloze
8d505cf0ca Fix jruby-dev to use updated URLs and support arm64 too 2026-02-05 20:43:25 +01:00
Charles Oliver Nutter
e70935a0a1 Add JRuby 10.0.3.0 2026-02-02 17:19:01 -06:00
glaszig
c316982a31 fix openssl version requirement range for ruby >= 4
resolves #2598
2026-01-22 17:46:57 -03:00
Benoit Daloze
7b526519e6 ruby-build 20260121 2026-01-21 20:08:27 +01:00
Benoit Daloze
3d39117bc8 Add TruffleRuby and TruffleRuby GraalVM 33.0.1 2026-01-21 19:45:27 +01:00
Hiroshi SHIBATA
e85dcb7d75
Use OpenSSL 3.5.x LTS instead of 3.0.x.
3.0 LTS version will be EOL at 2026. We should move 3.5.x version at next stable version.
2026-01-21 10:32:05 +09:00
Hiroshi SHIBATA
d693ea747e
ruby-build 20260114 2026-01-14 11:05:33 +09:00
GitHub Actions Bot
134db5a525 Added 3.2.10 with OpenSSL 3.0.18 2026-01-14 01:44:10 +00:00
Hiroshi SHIBATA
9894cb339a
ruby-build 20260113 2026-01-13 13:52:49 +09:00
GitHub Actions Bot
119bf7eabb Added 4.0.1 with OpenSSL 3.0.18 2026-01-13 04:30:01 +00:00
Benoit Daloze
3ffe15e0e1 ruby-build 20260110 2026-01-10 14:56:08 +01:00
Benoit Daloze
49c2ea9259 Add TruffleRuby and TruffleRuby GraalVM 33.0.0 2026-01-10 14:50:51 +01:00
Koichi ITO
8bb522f03f Add definition for Ruby 4.1-dev
Development of 4.1.0 started.
010dcf85
2025-12-26 11:16:01 +09:00
Hiroshi SHIBATA
7ea6b50fe7
ruby-build 20251225 2025-12-25 13:39:22 +09:00
Hiroshi SHIBATA
770595c05d
Added 4.0.0 and switch 4.0 branch 2025-12-25 13:35:48 +09:00
Hiroshi SHIBATA
8264adddb4
ruby-build 20251218 2025-12-18 14:23:18 +09:00
Koichi ITO
fd11fdea7e Add definition for Ruby 4.0.0-preview3
Ruby 4.0.0-preview3 has been released.
https://www.ruby-lang.org/en/news/2025/12/18/ruby-4-0-0-preview3-released/
2025-12-18 14:00:48 +09:00
Hiroshi SHIBATA
60c9125fd0
ruby-build 20251217 2025-12-17 18:50:17 +09:00
GitHub Actions Bot
ff530f6f77 Added 3.4.8 with OpenSSL 3.0.18 2025-12-17 00:40:10 +00:00
Benoit Daloze
98288dd18e ruby-build 20251203 2025-12-03 15:36:01 +01:00
Benoit Daloze
6316410482 Use the proper and consistent URLs for TruffleRuby 23.0.0 now that they are available 2025-12-03 09:44:56 +01:00
Benoit Daloze
fcaec71dee Follow repo move from oracle/truffleruby to truffleruby/truffleruby 2025-12-03 09:44:56 +01:00
Benoit Daloze
c40165a4d8 Update truffleruby-dev and truffleruby+graalvm-dev URLs
* To follow the new naming of https://github.com/ruby/ruby-builder/blob/master/README.md#naming
2025-12-03 09:44:56 +01:00
Mislav Marohnić
d5c04d7540
OpenSSL 3.0.18
Made with `script/update-openssl`
2025-11-23 15:11:54 +01:00