Commit graph

450 commits

Author SHA1 Message Date
SHIBATA Hiroshi
e2adf3d5fc
bump version to 20170112 2017-01-12 21:14:26 +09:00
SHIBATA Hiroshi
636646c141 Merge pull request #1002 from chulkilee/brew-info
print when using homebrew packages
2017-01-11 12:55:47 +09:00
Mislav Marohnić
09498c23dc Bring RUBY_BUILD_VERSION string up to date
Fixes #1041
2017-01-04 17:26:15 +01:00
n0ts
b8576c8087 Delete tab indent... 2016-12-28 21:34:38 +09:00
Mislav Marohnić
9bc9971772 Merge pull request #1027 from koooge/kindly_prompt
* bin/rbenv-uninstall: add kindly text into prompt
2016-11-28 00:16:19 +01:00
Yuichiro NAITO
fdcc0a76e9 Prefers readline
It's needed for older ruby (before 2.1) and works latter versions, too.
2016-11-27 18:45:39 +09:00
Yuichiro NAITO
8b2c3ef4bd Code clean up
1. reduce redundant testing
2. handling release numbers more robust
3. discard STDOUT messages more clearly
2016-11-27 18:38:17 +09:00
koooge
76979f8c98 * bin/rbenv-uninstall: delete success message 2016-11-26 18:47:57 +01:00
koooge
70a4788635 * bin/rbenv-uninstall: add kindly text into prompt 2016-11-26 07:05:35 +01:00
Yuichiro NAITO
1aa052b32d prefer to use openssl library from Ports Collection. 2016-11-04 17:16:46 +09:00
Yuichiro NAITO
d0c91c935e support FreeBSD 11-RELEASE 2016-11-04 15:55:31 +09:00
Chulki Lee
5118c4257f print when using homebrew packages 2016-09-24 21:38:58 -07:00
Eugene Kenny
ac96718249 Require LLVM 3.6 when building Rubinius 3.30+
From 3.30 onwards, Rubinius requires LLVM 3.6 or newer:

2dd51a1c28
2016-09-18 01:27:46 +01:00
SHIBATA Hiroshi
1b8bbf6a6f
update bin/ruby-build version. It's missing bump. We need to fix next version... 2016-09-16 12:50:24 +09:00
Jason Karns
21494ba359 Remove suite-wide setup
Bats doesn't support both suite-wide setup (in helper) *and* file-wide
setup. Which means the existance of any file-level setup() function
overwrites any setup() function from test_helper. This can be confusing,
and (IMO) easier to simply avoid the overwriting and remove any
_implied_ suite-wide setup function from test_helper.

This turns out to not be so bad for the recently added setup function,
because the only test files that actually need aria2c removed from PATH
are those that actually invoke curl. These can be found because they are
the only test files that stub curl; half of which already had
file-specific setup() functions. So the only ones which need a
file-local setup() function added were: checksum.bats and mirror.bats

Along these lines, rbenv.bats and hooks.bats were removing aria2c from
PATH but don't actually need to. (curl isn't stubbed in these tests so
the existance of aria2c wouldn't affect the tests)

Lastly, fixed a tab/spaces whitespace mixup that was introduced by:
750c086d11
2016-08-13 15:53:04 -04:00
Mislav Marohnić
f666e71656 Merge pull request #965 from yyuu/workaround-aria2c-stdout
`aria2c` doesn't support writing remote content to stdout
2016-08-12 16:30:18 +02:00
SHIBATA Hiroshi
1a37ab1856 Merge pull request #934 from aycabta/gmake-is-required-for-jruby
GNU Make is always required for JRuby on FreeBSD
2016-08-02 21:16:15 +09:00
Yamashita, Yuu
6baed1ff66 Prevent loading user's aria2.conf (yyuu/pyenv#625) 2016-06-22 00:37:56 +00:00
Mislav Marohnić
75dcbfb178 ruby-build 20160602 2016-06-02 15:02:50 -05:00
Yamashita, Yuu
e56f6cf82d aria2c doesn't support writing remote content to stdout (yyuu/pyenv#619, yyuu/pyenv#620) 2016-06-02 01:58:02 +00:00
SHIBATA Hiroshi
abb7d1d20f Merge pull request #904 from yyuu/download-aria2c
Use `aria2c` the "ultra fast" downloader if available
2016-05-25 20:12:45 +09:00
Jeremy Daer
2617f400de
Warn when installing an unsupported or end-of-lifed Ruby
Fixes #742
2016-04-29 22:56:28 -07:00
Erik Michaels-Ober
01071d083c ruby-build 20160426 2016-04-26 09:48:49 -07:00
Code Ass
750c086d11 GNU Make is always required for JRuby 2016-04-14 05:11:23 +09:00
Erik Michaels-Ober
c97caf3705 ruby-build 20160330 2016-03-30 08:42:27 -07:00
Mislav Marohnić
bd51b3aa0b ruby-build 20160228 2016-02-28 12:55:36 +09:00
Mislav Marohnić
798017b5df ruby-build 20160226 2016-02-26 18:50:40 +09:00
Yamashita, Yuu
f998f10597 Allow specifying custom command line options for aria2c, curl and wget 2016-02-13 03:51:31 +00:00
Yamashita, Yuu
54286dcb7e Use aria2c the "ultra fast" download utility if available 2016-02-13 03:43:25 +00:00
Mislav Marohnić
93f01cb7e5 ruby-build 20160130 2016-01-30 18:26:09 +11:00
Mislav Marohnić
80796ac1cf Merge pull request #864 2016-01-30 18:23:34 +11:00
Jason Karns
af49837c12 Helpful error msg for unexpected checksum length 2016-01-19 08:24:28 -05:00
Jason Karns
8738d1935c Replace associative array w/ variable indirection
Bash 3 doesn't have associative arrays. Use variable indirection to
save various checksum algorithm support results. `printf -v` can save
the output to a variable, whose name is itself stored in a variable
2016-01-19 08:24:28 -05:00
Jason Karns
14750a0b93 Extract has_checksum_support predicate function
- Remove unnecessary HAS_X_SUPPORT variables
- Merge conditional for unsetting mirror-url
- Memoize has_checksum_support function
2016-01-18 23:27:01 -05:00
Jason Karns
a187b07dab Move empty-checksum handling into case stmt 2016-01-18 23:27:01 -05:00
Jason Karns
26af69a9d3 Unknown checksum algorithms (based on length) are errors 2016-01-18 23:27:01 -05:00
Jason Karns
abc69bd630 SHA2 support shouldn't be a pre-req for MD5 checksum verification 2016-01-18 23:27:00 -05:00
Jason Karns
018357fefb Convert checksum algorithm chooser to switch case 2016-01-18 23:27:00 -05:00
Mislav Marohnić
a937418190 Merge pull request #886 from jasonkarns/rbenv-root
rbenv ensures RBENV_ROOT is set for us
2016-01-19 11:47:48 +11:00
Jason Karns
29a987c9fb Include --version in completions 2016-01-18 12:12:09 -05:00
Jason Karns
c534656f7a Include --version in usage documentation 2016-01-18 12:12:09 -05:00
Jason Karns
67fc7e2a1d Clean up usage documentation 2016-01-18 12:12:05 -05:00
Jason Karns
6b639919cf rbenv ensures RBENV_ROOT is set for us 2016-01-18 09:43:28 -05:00
Mislav Marohnić
288261985c ruby-build 20160111 2016-01-11 17:07:12 +01:00
Jim Nanney
6f08ad4c20 Add warning when package is bz2 format without bzip2 in path
On CentOS 7 and RHEL 7 bzip2 is not installed by default. This
causes a confusing error from tar when attempting to untar the
package. While this does not solve the problem, it at least gives
the user a more helpful error. More details can be found in GitHub
issue #870
2016-01-07 19:24:49 -06:00
Chris Seaton
ca0e1474fc Remove builds of JRuby that bundle Graal. 2016-01-01 12:01:39 +00:00
Mislav Marohnić
8f1a390482 ruby-build 20151230 2015-12-30 13:23:06 +01:00
Mislav Marohnić
f3942fd45f ruby-build 20151226 2015-12-26 23:15:42 +01:00
Mislav Marohnić
3e5c31f245 Support Rubinius linking against Homebrew openssl
Internally, ruby-build will want to set `--with-openssl-dir` if we try
to detect Homebrew's OpenSSL or build one for the OS X. However,
Rubinius doesn't support that configure flag. So, this translates
`--with-openssl-dir` to a combination of `--with-lib-dir` and
`--with-include-dir`.
2015-12-26 22:57:39 +01:00
Mislav Marohnić
c431c25ef9 Encapsulate OS X version checks 2015-12-26 22:29:56 +01:00