Commit graph

2434 commits

Author SHA1 Message Date
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
Mislav Marohnić
4b3890884a
Allow named pipes as build definition argument
Allow ruby-build to read a build definition from a named pipe in addition to just
from regular files.
2024-11-05 15:04:47 +01:00
Mislav Marohnić
bc88537fc5
Avoid array subscript error when checking OpenSSL versions
If none of Homebrew OpenSSL versions satisfy the `needs_openssl` requirement,
array iteration will reach `index=-1` and that will raise a non-fatal error
when accessing the `versions` array. This makes sure not to go past index=0.
2024-11-05 14:42:53 +01:00
Hiroshi SHIBATA
281e598b07
ruby-build 20241105 2024-11-05 14:30:21 +09:00
GitHub Actions Bot
f65561a204 Added 3.3.6 with OpenSSL 3.0.15 2024-11-05 04:11:23 +00:00
Hiroshi SHIBATA
ddd97d6349
Merge pull request #2460 from headius/jruby-9.4.9.0
Add JRuby 9.4.9.0
2024-11-05 07:09:43 +09:00
Charles Oliver Nutter
987b1275e1 Add JRuby 9.4.9.0 2024-11-04 16:05:52 -06:00
Hiroshi SHIBATA
f370d55536
ruby-build 20241030 2024-10-30 20:07:27 +09:00
GitHub Actions Bot
3149d1a363 Added 3.2.6 with OpenSSL 3.0.15 2024-10-30 10:17:28 +00:00
Benoit Daloze
aab1b8d0e7 ruby-build 20241017 2024-10-17 19:08:14 +02:00
Benoit Daloze
22fb62ac90 Add TruffleRuby and TruffleRuby GraalVM 24.1.1 2024-10-17 19:07:59 +02:00
Mislav Marohnić
a2309959d4
Merge pull request #2452 from rbenv/openssl-lib64
Fix linking to vendored OpenSSL on 64-bit systems
2024-10-17 13:41:39 +02:00
Mislav Marohnić
14d3185545
Fix linking to vendored OpenSSL on 64-bit systems
On 64-bit systems, the build system for OpenSSL tends to produce a "lib64"
directory instead of a "lib" directory due to its "multilib" feature being
enabled by default. However, the Ruby "openssl" extension assumes that the
directory is always named "lib", or explicitly passed via `--with-openssl-lib`.

This disables multilib support in OpenSSL by passing `--libdir=lib` to OpenSSL
configure step.
2024-10-15 14:24:13 +02:00
Benoit Daloze
572dd651de Use --enable-shared for dev builds too, not only for releases
* Only from Ruby 2.4+ since older releases don't use --enable-shared by default.
* As with releases it can be disabled by setting RUBY_CONFIGURE_OPTS=--disable-shared.
2024-10-09 01:50:09 +02:00
Benoit Daloze
1559160ea7 ruby-build 20241007 2024-10-07 19:50:08 +02:00
Aidan
2b1a29f84c Add Ruby 3.4.0-preview2 2024-10-07 19:47:02 +02:00
Benoit Daloze
a22ff72e32
Support ruby-build ruby-X.Y.Z DIR (#2448)
* By searching a X.Y.Z definition if no ruby-X.Y.Z definition is not found.
* Add test and documentation.

Co-authored-by: Mislav Marohnić <git@mislav.net>
2024-09-23 19:15:29 +02:00
Benoit Daloze
2d00d407e7
Add -d, --dir option to install to <prefix>/<definition> instead of <prefix> (#2447)
Similar to ruby-install's -r, --rubies-dir flag.

---------

Co-authored-by: Mislav Marohnić <git@mislav.net>
2024-09-23 18:00:15 +02:00
Benoit Daloze
ed384c8f36 ruby-build 20240917 2024-09-17 15:11:53 +02:00
Benoit Daloze
2d060fa53d Add TruffleRuby and TruffleRuby GraalVM 24.1.0 2024-09-17 15:09:20 +02:00
Hiroshi SHIBATA
10eb379aec
Merge pull request #2441 from rbenv/use-github-openssl
Use GitHub instead of openssl.org
2024-09-04 10:49:23 +09:00
Hiroshi SHIBATA
1b812e838d
Use GitHub instead of openssl.org 2024-09-04 10:45:31 +09:00
Hiroshi SHIBATA
3df795468c
Merge pull request #2440 from rbenv/openssl-3-0-15
Bump up openssl-3.0.15
2024-09-04 10:44:26 +09:00
Hiroshi SHIBATA
e319ef1767
Use GitHub instead of openssl.org 2024-09-04 10:40:34 +09:00
Hiroshi SHIBATA
fae22cd524
Bump up openssl-3.0.15 2024-09-04 08:41:04 +09:00
Hiroshi SHIBATA
d0e7c67023
ruby-build 20240903 2024-09-03 16:23:34 +09:00
GitHub Actions Bot
d567419dfe Added 3.3.5 with OpenSSL 3.0.14 2024-09-03 07:11:19 +00:00
GitHub Actions Bot
d22fa95a6e Added 3.3.3 with OpenSSL 3.0.14 2024-08-02 02:37:35 +00:00
Hiroshi SHIBATA
e12c32f712
Added missing option for output 2024-08-02 11:37:14 +09:00
Hiroshi SHIBATA
f468979e70
Test for auto-update 2024-08-02 11:33:56 +09:00
Hiroshi SHIBATA
c2e9bde27a
cleanup working directory 2024-08-02 11:02:46 +09:00
Hiroshi SHIBATA
a1bb3e40ee
Merge pull request #2430 from rbenv/auto-update
Auto update Ruby definition with Ruby releases
2024-08-02 09:57:29 +08:00
Hiroshi SHIBATA
0e5f4ddd37
Added automated update workflow for Ruby definition 2024-08-02 10:56:23 +09:00
Hiroshi SHIBATA
db3387aa1a
Handle openssl definition with script/update-cruby 2024-08-02 10:56:23 +09:00
Mislav Marohnić
6b90d692f2
Merge pull request #2429 from headius/tr_lc_all
Clear LC_ALL for tr call
2024-08-01 01:49:55 +02:00
Charles Oliver Nutter
89eb562616 Clear LC_ALL for tr call
This resolves additional issues when tr is called in a shell that
has set LC_ALL to a specific encoding. In that case, the tr may
fail to ignore binary files, expecting that they are in some
encoding.

See https://github.com/rbenv/ruby-build/issues/2279
2024-07-30 15:27:06 -05:00
Mislav Marohnić
072022f689
ruby-build 20240727 2024-07-27 00:55:32 +02:00
Mislav Marohnić
c3cdb88601
Merge pull request #2428 from sferik/3.2.5
Add Ruby 3.2.5
2024-07-27 00:55:03 +02:00
Erik Berlin
6e4e8ff6c0 Add Ruby 3.2.5
* Ruby 3.2.5 Released
https://www.ruby-lang.org/en/news/2024/07/26/ruby-3-2-5-released/
2024-07-26 11:25:05 -07:00
Benoit Daloze
acbd79b4c2 ruby-build 20240722 2024-07-22 12:47:34 +02:00
Benoit Daloze
4d25825676 Add TruffleRuby and TruffleRuby GraalVM 24.0.2 2024-07-22 12:47:11 +02:00
Hiroshi SHIBATA
836e3bece4
ruby-build 20240709.1 2024-07-09 12:43:12 +09:00