Commit graph

699 commits

Author SHA1 Message Date
Roman Usherenko
40af31b46b
automatically detect and use Homebrew's libyaml
Co-authored-by: Mislav Marohnić <git@mislav.net>
2023-03-06 19:14:40 +01:00
Benoit Daloze
8728d68fdc ruby-build 20230222 2023-02-22 17:09:20 +01:00
Masato Ohba
46878c9646
Remove brew update instruction (#2151)
because `brew update` runs automatically on `brew upgrade` by default since long time ago.
2023-02-20 16:00:59 +01:00
Mislav Marohnić
884767aa9b
ruby-build 20230208.1 2023-02-08 17:08:20 +01:00
Hiroshi SHIBATA
dad685b198
ruby-build 20230208 2023-02-08 07:52:52 +09:00
Benoit Daloze
9445ba09dc Remove patch for openssl-1.1.1q
* No definition uses it anymore.
2023-02-07 19:40:29 +00:00
Hiroshi SHIBATA
a6976a5af3
ruby-build 20230202 2023-02-02 07:50:37 +09:00
Benoit Daloze
08f29569e1 ruby-build 20230124 2023-01-24 18:46:32 +01:00
Hiroshi SHIBATA
ce13d2825b
Completely removed subversion feature 2022-12-28 15:04:33 +09:00
Hiroshi SHIBATA
9d92a697d2
ruby-build 20221225 2022-12-25 17:37:41 +09:00
Benoit Daloze
80cef45524 ruby-build 20221206 2022-12-06 12:11:43 +01:00
Hiroshi SHIBATA
4f4f3078d8
ruby-build 20221124 2022-11-24 23:15:28 +09:00
Benoit Daloze
6810337be3 ruby-build 20221123 2022-11-23 22:48:12 +01:00
Benoit Daloze
5eb8c65e3f ruby-build 20221121 2022-11-21 12:40:08 +01:00
Mislav Marohnić
66311de0f8
ruby-build 20221116 2022-11-16 18:06:23 +01:00
Mislav Marohnić
e6a7b335ec
Do not automatically enable YJIT nor attempt to detect rustc
Latest Ruby 3.2 development version now detects `rustc` on the system and automatically assumes `--enable-yjit` on susupported platforms unless `--disable-yjit` was explicitly passed.
2022-11-16 17:30:25 +01:00
Mislav Marohnić
0ddb8c19b4
ruby-build 20221101 2022-11-01 17:47:02 +01:00
Benoit Daloze
b53ab982a3 ruby-build 20221026 2022-10-25 18:17:04 +02:00
Hiroshi SHIBATA
2be9da54a2
ruby-build 20221025 2022-10-25 07:27:58 +09:00
Mislav Marohnić
55575fdb5e
ruby-build 20221004 2022-10-04 16:21:34 +02:00
Mislav Marohnić
7de903c560
Fix rbenv install --list exit status 2022-10-03 13:28:58 +02:00
Mislav Marohnić
a4ac4be47f
ruby-build 20220930 2022-09-30 20:17:36 +02:00
Mislav Marohnić
2b955e7ee3
List output: only print stderr notice if printing to a terminal
This makes it easier to redirect `rbenv install -l` output without having to silence stderr to get rid of the extra notice.
2022-09-29 15:44:48 +02:00
Mislav Marohnić
cde170b581
Suggest rbenv global if there is no explicit global setting (#2052)
Upon installing their first Ruby version on the system, the user may want to set it as their default; otherwise the default will remain "system" and any `gem install` attempts will fail with a permission error.

This suggestion is skipped if the user already has chosen an explicit default, even if it's "system".
2022-09-25 11:20:43 +02:00
Hiroshi SHIBATA
2443ff3d56
Merge pull request #2049 from rbenv/support-opensuse-openssl
Allow OPENSSL_VERSION_TEXT string match without last line for OpenSUSE
2022-09-22 19:14:29 +09:00
Jean Boussier
1f9b792168 macOS: Use GMP from homebrew
MRI's BigInt use GMP under the hood if available, and if not
fallbacks to an homemade implementation with much worse performance.

Without GMP:
```
>> Benchmark.realtime { Integer('1' * (10 ** 7)) }
=> 13.80743500002427
```

With GMP
```
>> Benchmark.realtime { Integer('1' * (10 ** 7)) }
=> 0.4098639999865554
```

macOS not being a common production platform, it's not a huge deal
but it would still preferable to compile with `gmp.h` if present.

I'd also suggest to print a warning if compiling on macOS and gmp
isn't installed, but I don't know if it's desirable.

NB: `--with-gmp-dir` was only added recently, so this will only
apply to MRI >= 3.2, as well as rubies on which this flag was backported.
2022-09-22 08:56:34 +02:00
Hiroshi SHIBATA
7fdf6ecfe0
Allow OPENSSL_VERSION_TEXT string match without last line for OpenSUSE 2022-09-22 13:08:23 +09:00
Hiroshi SHIBATA
5690c5d075
ruby-build 20220910.1 2022-09-10 15:01:09 +09:00
Hiroshi SHIBATA
9adbe64fc3
ruby-build 20220910 2022-09-10 14:37:30 +09:00
Hiroshi SHIBATA
87c525d479
not needed + 2022-09-10 14:33:18 +09:00
Hiroshi SHIBATA
7260a2c837
bash didn't provide \d 2022-09-10 14:29:40 +09:00
Hiroshi SHIBATA
019c011542
ruby-build 20220909 2022-09-09 11:12:11 +09:00
Maxime Chevalier-Boisvert
61b68bbad4
Fix required rustc version for YJIT in output 2022-09-01 22:17:43 -04:00
Hiroshi SHIBATA
e71c4b9468
Fix * regex usage of bash
suggested by @k0kubun

Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2022-09-01 17:54:45 +09:00
Hiroshi SHIBATA
d0c0ac3d11
Relax rustc version from 1.58.1 2022-09-01 13:57:37 +09:00
Benoit Daloze
1f6b94cc93 uname -m is aarch64 on Linux 2022-08-30 12:36:04 +02:00
Hiroshi SHIBATA
373e71aa10
Use -o for or condition
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2022-08-30 07:47:38 +09:00
Hiroshi SHIBATA
ccce79a5a7
Followed up https://github.com/rbenv/ruby-build/pull/2028 2022-08-30 07:32:19 +09:00
Hiroshi SHIBATA
32f0e3040b
YJIT support arm64 and aarch64 arch 2022-08-30 07:02:49 +09:00
Benoit Daloze
7f756a7bce ruby-build 20220825 2022-08-25 20:43:06 +02:00
Benoit Daloze
a753b24551 Show the log file to make it easy to follow progress
* Fixes https://github.com/rbenv/ruby-build/issues/1721
2022-08-06 13:04:40 +02:00
Benoit Daloze
44c91aa270 ruby-build 20220726 2022-07-26 15:18:20 +02:00
Benoit Daloze
d04f81fb75 ruby-build 20220725 2022-07-25 18:46:36 +02:00
Benoit Daloze
e139c26bdf Only check the opensslv.h header to find the system openssl version
* `openssl version` can be another version than the header, for instance with
  `apt-get install --no-install-recommends ca-certificates libssl1.0-dev` on Ubuntu 18.04:
  https://github.com/rbenv/ruby-build/discussions/2014#discussioncomment-3224237
2022-07-25 18:46:18 +02:00
Benoit Daloze
7866a26bed ruby-build 20220721 2022-07-21 13:41:23 +02:00
Hiroshi SHIBATA
cfb1fe850b Use inline patch instead of curl download 2022-07-21 13:38:53 +02:00
Hiroshi SHIBATA
7b24ca370e Apply patch for implicitly declaration error of OpenSSL 1.1.1q 2022-07-21 13:38:53 +02:00
Benoit Daloze
7399e92f1f Remove extra paren 2022-07-14 19:42:01 +02:00
Noah Gibbs
f9299a6332 Update bin/ruby-build
Co-authored-by: Mislav Marohnić <hi@mislav.net>
2022-07-14 19:42:01 +02:00
Noah Gibbs
b32d291a0f Update bin/ruby-build
Co-authored-by: Mislav Marohnić <hi@mislav.net>
2022-07-14 19:42:01 +02:00