Commit graph

885 commits

Author SHA1 Message Date
Jordan Ritter
720a96bf29 Re-enable ssldir creation target for openssl install
Prior commit attempts to shorten install by omitting documentation install,
however an additional target is needed to get the conf dirs for capturing the
PEMs et al.
2022-05-11 13:28:30 +02:00
Benoit Daloze
c0d87ea452 Skip building docs when building openssl
* See https://github.com/openssl/openssl/issues/8170
* The install_sw target exists since 1.0.0 or earlier:
  https://github.com/openssl/openssl/blob/OpenSSL_1_0_0-stable/Makefile.org
2022-05-01 12:43:05 +02:00
Benoit Daloze
deb3dd0e89 ruby-build 20220426 2022-04-26 15:05:44 +02:00
Benoit Daloze
d3bbd54d58 ruby-build 20220415 2022-04-15 12:21:25 +02:00
Levi Pearson
5c814edb02 Allow truffleruby to install in an existing empty directory
The check to prevent deleting user files during clean_prefix_path by disallowing
installs into existing directories that weren't earlier truffleruby installs broke
asdf installs, as asdf always creates an empty directory before installing.

This fix adds a second exception to the existing directory case when that directory
is empty. The check is done via testing the length of ls output. The logic was
manually tested against non-existing directories, existing empty directories,
existing non-empty directories in general, and existing non-empty directories
that contained a file named "bin/truffleruby".

I also copied the file over my existing asdf version of ruby-build and made sure that
it successfully installed truffleruby.
2022-04-12 16:27:47 +02:00
Benoit Daloze
2004fd71be ruby-build 20220412 2022-04-12 16:25:10 +02:00
Hiroshi SHIBATA
a5ca3e4872
ruby-build 20220324 2022-03-24 07:03:29 +09:00
Hiroshi SHIBATA
2a0475f03e
ruby-build 20220218 2022-02-18 21:22:41 +09:00
Benoit Daloze
cbdbc6e44b ruby-build 20220125 2022-01-25 19:18:52 +01:00
Hiroshi SHIBATA
8663d2ff83
ruby-build 20211227 2021-12-27 09:14:27 +09:00
Hiroshi SHIBATA
9c556f210a
ruby-build 20211225 2021-12-25 22:22:31 +09:00
Hiroshi SHIBATA
7ffe3c35a4
ruby-build 20211203 2021-12-03 08:47:48 +09:00
Benoit Daloze
f6a5330fa4 ruby-build 20211201 2021-12-01 21:28:23 +01:00
Benoit Daloze
6147a6dae9 ruby-build 20211124 2021-11-24 18:51:12 +01:00
Hiroshi SHIBATA
d796c17945
ruby-build 20211109 2021-11-09 19:33:13 +09:00
Benoit Daloze
30eb72fe77 ruby-build 20211019 2021-10-19 17:07:37 +02:00
Benoit Daloze
f50312a59a ruby-build 20210928 2021-09-28 12:42:18 +02:00
Benoit Daloze
e607953dbf Fix version check for Java 17
* Fixes https://github.com/rbenv/ruby-build/issues/1798
* OpenJDK 17 reports:
  $ java -version
  openjdk version "17" 2021-09-14
  There is no dot in the version, so we need to only use the first match from grep -o.
* Clarify it is a minimum required java version, not an exact version.
2021-09-28 12:42:07 +02:00
Benoit Daloze
bba976f9d8 ruby-build 20210925 2021-09-25 12:25:45 +02:00
Hiroshi SHIBATA
fceea42526
ruby-build 20210825 2021-08-25 09:14:03 +09:00
Benoit Daloze
f82c1e8cb2 ruby-build 20210804 2021-08-04 15:28:36 +02:00
Benoit Daloze
887a13f86a ruby-build 20210801 2021-08-01 15:26:24 +02:00
Benoit Daloze
75c2fe4560 ruby-build 20210726 2021-07-26 17:44:58 +02:00
Benoit Daloze
ac72249e04 Ensure it is safe to remove the prefix path for TruffleRuby or error
* Only do clean_prefix_path for TruffleRuby and rename for clarity,
  since the logic is now TruffleRuby-specific.
2021-07-26 17:44:28 +02:00
Benoit Daloze
d62e1d41cd ruby-build 20210720 2021-07-20 19:59:07 +02:00
Benoit Daloze
f8e17bb435 ruby-build 20210707 2021-07-07 19:21:16 +02:00
Benoit Daloze
6b5c814822 ruby-build 20210611 2021-06-11 11:40:23 +02:00
Benoit Daloze
19ed806d27 ruby-build 20210526 2021-05-26 13:46:37 +02:00
Benoit Daloze
e9fa4bfdbe ruby-build 20210510 2021-05-10 20:47:29 +02:00
Jean Boussier
30b770c35f Do not append --enable-shared if RUBY_CONFIGURE_OPTS include --disable-shared 2021-05-10 20:47:03 +02:00
Jean Boussier
3a4d3fb0fd Join *_OPTS variables after *_OPTS_ARRAY variables
This for instance allows `RUBY_CONFIGURE_OPTS` to override
what's set by the definition.

For instance `enable_shared` can be disabled with `RUBY_CONFIGURE_OPTS='--disable-shared'`
2021-05-10 20:47:03 +02:00
Benoit Daloze
0bd64d3799 ruby-build 20210423 2021-04-23 14:20:56 +02:00
Benoit Daloze
83796a7fa9 ruby-build 20210420 2021-04-20 16:36:34 +02:00
Benoit Daloze
189d9882a5 ruby-build 20210405 2021-04-05 18:51:08 +02:00
Hiroshi SHIBATA
9767e2b672
Use autoreconf -i instead of autoconf because autoconf-2.71+ is incompatible with 2.69 or before. 2021-04-02 18:34:07 +09:00
Benoit Daloze
500863c23d ruby-build 20210309 2021-03-09 21:42:09 +01:00
Benoit Daloze
3b5c382552 ruby-build 20210119 2021-01-19 23:25:20 +01:00
Hiroshi SHIBATA
8da6714cf4
Bump version to 20201225 2020-12-25 15:10:25 +09:00
Hiroshi SHIBATA
49882781e0
Bump version to 20201221 2020-12-21 09:09:47 +09:00
Hiroshi SHIBATA
61a3330a4b
Bump version to 20201210 2020-12-10 11:39:07 +09:00
Hiroshi SHIBATA
01d9e8a9b5
Bump version to 20201208 2020-12-08 21:48:05 +09:00
Hiroshi SHIBATA
4a0c87c808
Merge pull request #1474 from metalefty/promote-rbenv-install-L
[easy] promote 'rbenv install -L', an alias of '--list-all'
2020-12-03 15:16:22 +09:00
Hiroshi SHIBATA
99f6bcbe49
Merge pull request #1457 from uzxmx/feature/specify-complete-mirror-url
Support specifying the complete mirror URL
2020-12-03 15:14:46 +09:00
Benoit Daloze
f85906ea93 ruby-build 20201118 2020-11-18 12:18:04 +01:00
Benoit Daloze
e92125c51e ruby-build 20201117 2020-11-17 20:34:45 +01:00
Hiroshi SHIBATA
29d1749b2b
bump version to 20201005 2020-10-05 09:40:17 +09:00
Hiroshi SHIBATA
f5cd394dbb
bump version to 20200926 2020-09-26 08:28:40 +09:00
Koichiro Iwao
a31896579e
promote 'rbenv install -L', an alias of '--list-all'
As far as I search on Twitter, the short option is not well known.
2020-09-24 11:52:30 +09:00
Benoit Daloze
0a5e05919a ruby-build 20200819 2020-08-19 16:26:45 +02:00
Benoit Daloze
afcea6e8a0 ruby-build 20200727 2020-07-27 11:10:58 +02:00