Commit graph

2374 commits

Author SHA1 Message Date
Hiroshi SHIBATA
28d59aceec
Merge pull request #2348 from hasumikin/mruby-3.3.0
Add mruby-3.3.0
2024-02-15 17:00:23 +09:00
HASUMI Hitoshi
20fc226350 Add mruby-3.3.0 2024-02-15 16:20:26 +09:00
Hiroshi SHIBATA
e1b36a32fb
ruby-build 20240119 2024-01-19 08:22:53 +09:00
Hiroshi SHIBATA
b345981b0a
Merge pull request #2339 from TomNaessens/patch-1
Add Ruby 3.2.3
2024-01-18 18:37:58 +09:00
Tom Naessens
605fb64856
Add Ruby 3.2.3 2024-01-18 10:27:54 +01:00
Benoit Daloze
a6c972e2c1 ruby-build 20240116 2024-01-16 15:59:20 +01:00
Benoit Daloze
4887105fc9 Add TruffleRuby and TruffleRuby GraalVM 23.1.2 2024-01-16 15:57:01 +01:00
Mislav Marohnić
33168b3e67
Merge pull request #2333 from rbenv/conditional-readline
Skip passing `--with-readline-dir` for Ruby 3.3+
2024-01-13 15:35:05 +01:00
Mislav Marohnić
8465e028e8
Skip passing --with-readline-dir for Ruby 3.3+ 2024-01-07 14:24:40 +01:00
Hiroshi SHIBATA
3b79c2931a
Merge pull request #2329 from rbenv/3-4-dev
Added 3.4-dev definition
2023-12-25 18:34:14 +09:00
Hiroshi SHIBATA
1d1aa3bbd1
Added 3.4-dev definition 2023-12-25 18:20:58 +09:00
Hiroshi SHIBATA
a473f444de
ruby-build 20231225 2023-12-25 16:43:55 +09:00
Hiroshi SHIBATA
8eaf35d143
Merge pull request #2327 from rbenv/ruby-3-3-branch
Switch 3.3.0-dev to ruby_3_3 branch
2023-12-25 16:43:26 +09:00
Hiroshi SHIBATA
cbf7537be4
Switch 3.3.0-dev to ruby_3_3 branch 2023-12-25 16:35:38 +09:00
Hiroshi SHIBATA
a5708a2de4
Merge pull request #2326 from k0kubun/ruby-3.3.0
Add Ruby 3.3.0
2023-12-25 16:10:36 +09:00
Takashi Kokubun
38ad5276db Add Ruby 3.3.0 2023-12-24 23:01:28 -08:00
Hiroshi SHIBATA
d9cc94bbeb
Merge pull request #2325 from rbenv/use-bats-core
Use bats-core instead of archived version
2023-12-25 12:49:28 +09:00
Hiroshi SHIBATA
2a85ffaebd
Use bats-core instead of archived version 2023-12-25 12:29:01 +09:00
Hiroshi SHIBATA
1b66c8345d
ruby-build 20231211 2023-12-11 20:14:52 +09:00
Hiroshi SHIBATA
e5ea9efde5
Merge pull request #2323 from casperisfine/3.3.0-rc1
Add Ruby 3.3.0-rc1
2023-12-11 20:07:08 +09:00
Jean Boussier
5775055887 Add Ruby 3.3.0-rc1
https://www.ruby-lang.org/en/news/2023/12/11/ruby-3-3-0-rc1-released/
2023-12-11 09:32:45 +01:00
Mislav Marohnić
974ec230bd
Merge pull request #2322 from rbenv/pkg-config-workaround
Fix linking to older OpenSSL for Ruby < 2.7.7
2023-12-08 10:37:13 +01:00
Mislav Marohnić
89617471f8
Fix linking to older OpenSSL for Ruby < 2.7.7
Explicitly set PKG_CONFIG_PATH when `--with-openssl-dir` is used for older Rubies.
Otherwise, Ruby will attempt to link to the latest OpenSSL found by pkg-config,
which could be incompatible.
2023-12-07 15:52:10 +01:00
Mislav Marohnić
cba395e4a6
Merge pull request #2318 from rbenv/with-bundled-gems
Introduce "with_bundled_gems" build step for dev rubies and unify "standard"
2023-12-01 14:48:23 +01:00
Mislav Marohnić
c5346187ac
Simplify build & install steps for dev rubies
This merges "standard_build" and "standard_install" build steps into one again
and modifies "standard_install_with_bundled_gems" to just invoke "standard"
with the addition of `update-gems` & `extract-gems` targets.
2023-11-30 16:32:57 +01:00
Mislav Marohnić
d12f6e5488
Merge pull request #2316 from rbenv/fix-ruby-2.4
Fix compiling Ruby < 2.5 by omitting `--with-ext`
2023-11-24 22:14:21 +01:00
Mislav Marohnić
efe73b4841
Fix compiling Ruby < 2.5 by omitting --with-ext
Using `--with-ext=+` only has the indended effect (compiling all extensions that would normally get compiled) on Ruby 2.5+. On older versions, it causes none of the default extensions to get compiled, resulting in a defunct installation.
2023-11-24 22:08:28 +01:00
Mislav Marohnić
62ec07af2a
Merge pull request #2314 from rbenv/verify-openssl-remove
Remove deprecated verify_openssl step from build definitions
2023-11-21 19:35:21 +01:00
Mislav Marohnić
a029f72e2c
Remove deprecated verify_openssl step from build definitions 2023-11-21 19:26:52 +01:00
Mislav Marohnić
e30482e686
Merge pull request #2296 from rbenv/verify-openssl
Instruct Ruby to fail the build if openssl or psych are missing
2023-11-21 18:19:19 +01:00
Mislav Marohnić
4c46e63e4f
readme: update markdown syntax for warning label 2023-11-21 17:25:51 +01:00
Mislav Marohnić
4a3ff7e194
Surface make problems while building Ruby extensions
A very common type of build failure is that the Ruby "openssl" extension failed to compile. However, when that happens, ruby-build just prints a generic "BUILD FAILED" message. To find out what happened, the user would first have to open the ruby-build log, note the "Following extensions are not compiled" section, then figure out how to find the exact location to the "ext/openssl/mkmf.log" file for more information.

Now, when `make` fails, ruby-build will automatically forward the "Following extensions are not compiled" information to stderr.
2023-11-21 17:12:53 +01:00
Mislav Marohnić
4cb285791c
Remove verify_opensl step from build definitions
The functionality to fail the build if openssl or psych are missing is
now built into the `./configure && make` phase for Ruby.
2023-11-21 17:12:53 +01:00
Mislav Marohnić
6250069ccb
Instruct Ruby to fail the build if openssl or psych are missing
Normally, Ruby `make` step will print a warning about any missing
extensions, but will not abort the build and instead proceed as normal.

Since Ruby installations without openssl or psych are essentially
broken, ruby-build used to have a `verify_openssl` build step to test if
the newly built Ruby can load these extensions, and print helpful
information and abort the build on errors:

    Loading the Ruby openssl extension failed
    ERROR: Ruby install aborted due to missing extensions

The `verify_opensl` implementation was necessary to provide a good
experience for ruby-build users, but was hacky and I would prefer to
eliminate it.

It appears that passing `--with-ext=openssl,psych` to the Ruby configure
step marks those extensions as mandatory and fails the `make` process if
they failed to build. This is exactly the behavior we want, so this
enables the configure option for all Ruby builds.
2023-11-21 17:12:53 +01:00
Benoit Daloze
4b7ce4d00f Add ruby-dev definition
* Currently the same as 3.3.0-dev but that name changes every year,
  so this makes it easy to install ruby dev/master.
2023-11-21 10:24:07 +01:00
Mislav Marohnić
d312f5a403
Merge pull request #2308 from rbenv/update-eol-script
Add script to update `warn_unsuppported`, `warn_eol` labels
2023-11-19 15:07:14 +01:00
Mislav Marohnić
a6a79ac48d
Merge pull request #2307 from rbenv/ruby-3.0-unsupported
Mark Ruby 3.0.x as unsupported
2023-11-14 14:06:14 +01:00
Hiroshi SHIBATA
e4e49a1601
ruby-build 20231114 2023-11-14 21:13:25 +09:00
Hiroshi SHIBATA
6d5c4314ce
Merge pull request #2310 from andreimaxim/3.3.0-preview3
Added 3.3.0-preview3
2023-11-13 09:36:36 +09:00
Andrei Maxim
6e85a7bad4
Add 3.3.0-preview3 2023-11-12 22:36:04 +02:00
Mislav Marohnić
e03e8c3f9c
Add script to update warn_unsuppported, warn_eol labels
The script will automatically assign "warn_unsupported" or "warn_eol" labels
based on the information from endoflife.date.
2023-11-11 12:35:30 +01:00
Mislav Marohnić
ed3800a409
Mark Ruby 3.0.x as unsupported
It reaches EOL status in March 2024.
2023-11-11 12:33:27 +01:00
Mislav Marohnić
270ecd0bcb
Merge pull request #2304 from rbenv/fix-wget
Abandon using `--show-progress` for wget
2023-11-09 02:08:54 +01:00
Mislav Marohnić
4c07370ac4
Abandon using --show-progress for wget
It seems like there exist platforms that have wget which does not
support the `--show-progress` option. This reverts to using wget in its
default verbose mode where a progress bar and bunch more information are
printed to stderr.
2023-11-09 01:59:21 +01:00
Mislav Marohnić
a206686aac
Merge pull request #2302 from rbenv/man-page-tweaks
Add option flags to ruby-build man page
2023-11-09 00:08:32 +01:00
Mislav Marohnić
3f46003f03
Merge pull request #2303 from rbenv/print-command-tmpdir
Fix commands printed when TMPDIR is empty
2023-11-09 00:08:02 +01:00
Mislav Marohnić
c4f811a23d
Fix commands printed when TMPDIR is empty 2023-11-08 23:56:03 +01:00
Mislav Marohnić
a53f94fe3f
Add option flags to ruby-build man page 2023-11-08 23:48:51 +01:00
Mislav Marohnić
bb18f12e64
ruby-build 20231107 2023-11-07 19:16:07 +01:00
Mislav Marohnić
44e4797d23
Merge pull request #2297 from rbenv/man-page
Add ruby-build(1) man page
2023-11-07 19:03:06 +01:00