Commit graph

2,332 commits

Author SHA1 Message Date
Benoit Daloze
08af628396 Add a few extra examples for the version sorting test 2019-11-21 16:41:12 +01:00
Benoit Daloze
47074b9174 Use openssl from Homebrew for TruffleRuby on macOS
* The openssl built by ruby-build was not used by TruffleRuby,
  and causes https://github.com/oracle/truffleruby/issues/1818
* Improve error message when openssl from Homebrew is not available.
* Change the definition code so it checks the operating system too.
2019-11-21 16:41:12 +01:00
Benoit Daloze
f0a393d20a Use the full path to the post-install hook to help debugging issues
* See https://github.com/oracle/truffleruby/issues/1818
2019-11-21 12:23:11 +01:00
SHIBATA Hiroshi
9c6c9a3ef7
Merge pull request #1382 from skylerwshaw/skylerwshaw/add_mruby_2_1_0
Add definition for mruby 2.1.0
2019-11-21 11:29:31 +09:00
Skyler Shaw
b83fc80de6 Add definition for mruby 2.1.0 2019-11-20 13:52:55 -06:00
Benoit Daloze
e61e194bbc Add TruffleRuby 19.3.0 2019-11-20 17:58:31 +01:00
Benoit Daloze
a2031524f9 Use OpenSSL 1.1.1d like other Rubies for new TruffleRuby releases 2019-11-20 17:57:44 +01:00
Mislav Marohnić
83b8068a32 Merge branch 'freebsd-gmake' 2019-11-20 10:56:36 +01:00
Mislav Marohnić
d6af53ef1c Fix test for gmake on FreeBSD 2019-11-20 10:56:16 +01:00
Koichiro Iwao
2fa12aa897
Set default MAKE=gmake on FreeBSD again
as an workaround for Ruby bug 16331: https://bugs.ruby-lang.org/issues/16331

Due to this bug, build will fail with FreeBSD's make after #1368.
The bug is already fixed in MRI upstream but GNU make is still required
when building older releases of Ruby. Use GNU make rather than switching
make/gmake depending of Ruby version.

See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241633
2019-11-20 18:11:43 +09:00
Mislav Marohnić
092b8dacea
Merge pull request #1377 from rbenv/openssl-111d
Update to OpenSSL 1.1.1d for Ruby 2.5+
2019-11-12 18:50:02 +01:00
Mislav Marohnić
0eec58617f Update to OpenSSL 1.1.1d for Ruby 2.5+
Closes #1232
2019-11-12 18:38:33 +01:00
Mislav Marohnić
7a627b31ca ruby-build 20191111 v20191111 2019-11-11 11:45:30 +01:00
Mislav Marohnić
a0dcf52834
Merge pull request #1375 from gfguthrie/master
Don’t look for Homebrew openssl

Closes #1353 closes #1360
2019-11-11 11:16:38 +01:00
Grant Guthrie
015b248956 Keep use_homebrew_openssl function 2019-11-08 15:31:13 -05:00
Grant Guthrie
9d96a6b83d Don’t look for homebrew openssl 2019-11-08 10:01:00 -05:00
Mislav Marohnić
9383de3f57 ruby-build 20191105 v20191105 2019-11-05 13:34:42 +01:00
Mislav Marohnić
ed46d03947 Include header files with mruby
Fix #1311
2019-11-05 11:03:49 +01:00
Mislav Marohnić
dc88fdf833 Merge branch 'handle-non-git-patches' 2019-11-05 09:48:43 +01:00
Mislav Marohnić
8945b5721f Add tests for different styles of patches 2019-11-05 09:48:22 +01:00
Mislav Marohnić
c2822aa095 Merge remote-tracking branch 'origin/master' into handle-non-git-patches 2019-11-05 09:40:10 +01:00
Mislav Marohnić
0d3e3b8b8e Ensure missing curl/wget/aria2c error message is shown on Linux
https://travis-ci.org/rbenv/ruby-build/builds/607144159

Ref. #1234
2019-11-04 17:13:08 +01:00
Mislav Marohnić
e2b1da83bb Assert error shown when curl, wget, & aria2c are unavailable
Closes #1234
2019-11-04 14:48:46 +01:00
Mislav Marohnić
fe5986d649 Fix rbenv install --list test 2019-11-04 14:48:46 +01:00
Mislav Marohnić
9e41ff482c Have rbenv install --list output match ruby-build --definitions
This is for simplicity and usability in scripts.

Fixes #1170
2019-11-02 19:30:31 +01:00
Mislav Marohnić
c660cfcd03 Use mktemp to securely initialize the build directory
Hopefully this works between BSD and GNU mktemp.

Closes #540
2019-11-02 19:17:41 +01:00
Mislav Marohnić
f6e8dc1ebd ruby-build 20191102 v20191102 2019-11-02 13:16:26 +01:00
Mislav Marohnić
c30d4cba91 Fix verifying Java 9+ versions
Ref. #1135
2019-11-02 13:09:38 +01:00
Mislav Marohnić
9d78f06d1d Fix requiring Java 8 for JRuby 9.2
Ref. #1372, fix #1373, fix #1246
2019-11-02 11:33:08 +01:00
Jorge Vargas Silva
b4e504c858 jRuby 9.x depends on java 8 (#1372) 2019-10-31 23:50:16 +01:00
Mislav Marohnić
f9b71013d3
Merge pull request #1371 from afromankenobi/add_definition_for_jruby_9_2_9_0
Add definition for jruby 9 2 9 0
2019-10-31 20:25:10 +01:00
Jorge Vargas Silva
2ead47a0ef jRuby 9.2.9.0 depends on java 8 2019-10-31 14:31:38 -03:00
Jorge Vargas Silva
eda2814dbc ADD: Definition for jRuby 9.2.9.0 2019-10-31 14:29:25 -03:00
Mislav Marohnić
e4904cd49e ruby-build 20191031 v20191031 2019-10-31 15:34:09 +01:00
Mislav Marohnić
1c8e9eccc8
Merge pull request #1370 from rbenv/no-fix-permissions
Remove overzealous permission change post-install
2019-10-31 15:32:59 +01:00
Mislav Marohnić
3a10951711 Remove overzealous permission change post-install
Allows group-writeable Ruby installations

Reverts e1b50e68e3

Fix #400, close #903
2019-10-31 09:08:26 +01:00
Mislav Marohnić
1fe53fac65 ruby-build 20191030 v20191030 2019-10-30 18:11:02 +01:00
Mislav Marohnić
ef93e25679
Merge pull request #1368 from rbenv/enable-shared
Turn on `--enable-shared` by default for all supported MRI Rubies
2019-10-30 18:10:15 +01:00
Mislav Marohnić
dd1562ed65 Turn on --enable-shared by default for all supported MRI Rubies
Some gems need the host ruby to have shared library enabled. Currently,
we're not aware of any potential downsides to having this enabled by
default.

> Shared libraries are libraries that are loaded by programs when they
> start. When a shared library is installed properly, all programs that
> start afterwards automatically use the new shared library.
> [...] if you have a program that needs a shared library (in this case ruby
> libruby.so.2.2.0 or similar) the program will fail if it doesn't exist.
2019-10-25 13:58:18 +02:00
SHIBATA Hiroshi
efd272209b
Merge pull request #1363 from felixonmars/patch-1
Correct a typo in ruby-build
2019-10-24 09:09:48 +09:00
Mislav Marohnić
1a902f3903 ruby-build 20191024 v20191024 2019-10-24 00:03:50 +02:00
Mislav Marohnić
f3435a5257 Update release script
- Tweak release notes in editor before submitting
- Create annotated git tag
- Publish GitHub release by default instead of draft
- Remove Homebrew publish steps - now handled by Actions
2019-10-24 00:01:46 +02:00
Mislav Marohnić
3aa31bcef5
Bump Homebrew formula on tagged release 2019-10-23 23:41:25 +02:00
SHIBATA Hiroshi
20a0e726b0
Merge pull request #1367 from koic/add_definition_for_ruby_2_7_0_preview2
Add definition for Ruby 2.7.0-preview2
2019-10-23 08:34:14 +09:00
Koichi ITO
70661edb1b Add definition for Ruby 2.7.0-preview2
Ruby 2.7.0-preview2 has been released.
https://www.ruby-lang.org/en/news/2019/10/22/ruby-2-7-0-preview2-released/
2019-10-22 23:36:55 +09:00
Mislav Marohnić
ec244cc56e
Merge pull request #1348 from ross-bragg/improve-ruby-build-mirror-example
Add example of mirrored URL.
2019-10-22 14:26:48 +02:00
Felix Yan
920e9764eb
Correct a typo in ruby-build 2019-10-11 16:11:21 +08:00
Mislav Marohnić
a963078456
Clarify <SHA2> 2019-10-09 14:11:12 +02:00
Mislav Marohnić
dafe7058f5
Clarify "package mirrors" section further 2019-10-09 14:08:21 +02:00
Hiroshi SHIBATA
da8e0b41fc
Bump version to v20191004 v20191004 2019-10-04 09:56:49 +09:00