Commit graph

426 commits

Author SHA1 Message Date
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
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
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
Mislav Marohnić
c93d0d3a11 ruby-build 20151225 2015-12-25 11:47:23 +01:00
Mislav Marohnić
768db5df4c ruby-build 20151216 2015-12-16 16:33:45 +01:00
Tatsuhiko Miyagawa
55ffea164a Skip mirror if the URL is cache.ruby-lang.org (Fastly) and there's no custom mirror set 2015-12-16 16:29:24 +01:00
Mislav Marohnić
eef6a2ed8e Merge pull request #841 from jasonkarns/rbenv-completions
Provide completion of flags for install/uninstall
2015-12-08 10:17:31 +01:00
Chulki Lee
866dacc0b4 update urls to rbenv 2015-12-07 14:17:04 -08:00
Jason Karns
273dab13b3 include flags in nodenv-install completions 2015-12-04 16:44:36 -05:00
Jason Karns
47d85f4b7c include --force option in nodenv-uninstall completions 2015-12-04 16:37:51 -05:00
Mislav Marohnić
bd222051df Allow space-separated LDFLAGS arguments
Fixes #829, closes #830
2015-11-16 11:07:18 +01:00
Julien Cigar
765d62c5d7 A lightweight version of Subversion is already installed on FreeBSD as svnlite (the only difference from normal Subversion use is that the command name is svnlite). 2015-10-30 16:31:13 +01:00
Mislav Marohnić
4ed3974732 ruby-build 20151028 2015-10-28 12:35:42 +01:00
Mislav Marohnić
4900827526 Ensure IFS is reset to original value every time 2015-10-28 12:17:43 +01:00
Mislav Marohnić
768b1d0086 ruby-build 20151024 2015-10-24 17:03:02 +02:00
Mislav Marohnić
f63382f12b ruby-build 20150928 2015-09-28 12:52:07 +02:00
Erik Michaels-Ober
326b038697 ruby-build 20150818 2015-08-18 18:14:15 +02:00
Erik Michaels-Ober
c032ba1c7c ruby-build 20150803
Closes https://github.com/sstephenson/ruby-build/issues/793.
2015-08-03 14:55:42 +02:00
Pavel Repin
3cee1b9e78 RUBY_BUILD_MIRROR_URL defaults to https://...
Because encryption and authenticity are now cool :)
2015-07-20 12:45:04 -07:00
Erik Michaels-Ober
d50a5bb81a ruby-build 20150719 2015-07-19 14:49:34 +02:00
Erik Michaels-Ober
27d02db62a Merge pull request #629 from sstephenson/dep-checks
Check that openssl, yaml, readline, zlib are all loadable
2015-07-19 12:08:44 +02:00
Erik Michaels-Ober
0a3f010bb9 Merge pull request #765 from sstephenson/detect-llvm35
Improve detecting LLVM 3.5 from Homebrew
2015-07-19 12:00:38 +02:00
Erik Michaels-Ober
b7237690e6 Merge pull request #766 from jasonkarns/remove-sed-fallback
remove sed fallback for help/usage
2015-07-19 11:59:57 +02:00
Erik Michaels-Ober
56a9ea73d6 ruby-build 20150709 2015-07-09 18:24:10 +02:00
Jason Karns
699f0cc566 remove sed fallback for help/usage 2015-06-01 21:41:42 -04:00
J. Brandt Buckley
5cb049e48a Update instructions to install LLVM 3.5 using Homebrew
Homebrew bumped the version of LLVM installed with `brew install llvm`
from 3.5.1 to 3.6.0. So now users will have to tap homebrew-versions and
run `brew install llvm35` in order to get the version necessary to
install recent versions of Rubinius. The 3.5-specific `llvm-config`
becomes `llvm-config-3.5` accordingly.

0196a069a0
2015-05-26 10:55:34 +02:00
Mislav Marohnić
e33751fbfc Improve detecting LLVM 3.5 from Homebrew
The main "llvm" Homebrew package is occasionally getting updated and is
not guaranteed to be version 3.5. Right now it's 3.6, but that depends
on the version of Homebrew that someone has installed.

This lists through all installed Homebrew packages named "llvm*" and
tests each `llvm-config --version` for "3.5*" until it finds one.
2015-05-26 10:55:20 +02:00