47 Commits

Author SHA1 Message Date
Misty De Meo
4305ff9602 vendor-install: upgrade to 2.6.3_2 2020-06-16 13:53:28 -07:00
Misty De Meo
f4ff5a22f8
vendor-install: remove ARM 2020-06-10 13:08:09 -07:00
Misty De Meo
0c1cf592b7
Bump minimum OS to Yosemite 2020-06-10 13:08:01 -07:00
Mike McQuaid
6123cdb767
Improve Homebrew Portable Ruby messaging
As-of https://github.com/Homebrew/homebrew-portable-ruby/pull/100 we've
removed ARM builds for Portable Ruby due to months of breakage.
Similarly, when we last bumped Portable Ruby the ARM build was much
delayed but, despite Homebrew/brew being completely unusable to anyone
using it on ARM in that case, no-one complained or filed issues.

Instead of attempting to maintain and update a Portable Ruby on niche
(Homebrew) platforms like ARM (or, in past/future PPC) improve the
messaging to provide users with a workaround.

Now we allow only a major/minor version match it should be pretty
doable for those users to install e.g. a prebuilt Ruby binary from a PPA
or built it from source if needed using `ruby-build` and `rbenv`.

The messaging could be improved further but we're somewhat limited by
`ruby.sh` and `vendor-install.sh` being separate. I'm tempted to combine
them (or at least have `vendor-install.sh` not be so generic as to not
be able to give Ruby-specific advice).
2020-05-02 13:53:45 +01:00
EricFromCanada
0242084929 shell commands: colourize messages 2019-11-21 16:18:46 -05:00
Shaun Jackman
023f0b59a2 vendor-install: Change double hyphen to single 2019-10-22 11:26:16 -07:00
Shaun Jackman
6169244b15 vendor-install: Update aarch64 and add armv6 2019-10-19 11:16:42 -07:00
Shaun Jackman
c71b540ea6 vendor-install: Add ruby bottle for aarch64 2019-10-13 14:24:08 -07:00
Mike McQuaid
209d12b89f
vendor-install: remove ARM bottles until built. 2019-10-10 16:17:06 +01:00
Mike McQuaid
e9aba2efb6
Require and provide portable Ruby 2.6.3. 2019-10-10 15:53:16 +01:00
EricFromCanada
89f0fcedbe whitespace fixes 2019-04-13 21:32:04 -04:00
EricFromCanada
560ccddb69 help: rewrap output to 80 columns
Accounts for paragraph breaks and option descriptions. Also fixes some help text nits.
2019-03-11 12:52:07 -04:00
Shaun Jackman
8abc67a414 vendor-install: Add portable-ruby for aarch64 (ARM64) 2019-02-24 22:36:56 -08:00
Mike McQuaid
96c1dffb71
vendor-install: improve --help formatting. 2019-01-30 21:38:46 +00:00
Mike McQuaid
5084831a2b
vendor-install: use Mavericks portable Ruby.
This is not universal so is smaller (8MB vs 12MB). It also performs
5-10% faster at:
https://rubybench.org/ruby/ruby/releases?result_type=array_sample_100k___50k
2019-01-27 13:24:40 +00:00
Mike McQuaid
4feb851279
Fix brew style shellcheck warnings. 2018-10-07 22:08:59 +01:00
Shaun Jackman
cccc6aef18 Update portable-ruby to verison 2.3.7 for ARM [Linux] 2018-10-04 13:55:35 -07:00
Mike McQuaid
e1eb7dd3e3 Use Ruby 2.3.7
Fixes #4459.
2018-07-13 08:22:33 +01:00
Mike McQuaid
facd76bc51 portable-ruby: respect HOMEBREW_BOTTLE_DOMAIN variable.
This was requested in:
https://discourse.brew.sh/t/adding-additional-download-sources-to-homebrew/2446

With this change you can use e.g. Artifactory for Homebrew's portable
ruby.
2018-06-29 19:51:18 +01:00
Shaun Jackman
1d4862c846 vendor-install: Add portable-ruby bottle for ARM 2018-05-05 22:26:57 -07:00
Shaun Jackman
23ac5949d0 vendor-install: Fix portable-ruby bottle filename 2018-05-05 22:26:57 -07:00
Mike McQuaid
d0cc8823b4 portable-ruby 2.3.3_2
Now with a working DBM on Linux.
2018-05-03 09:06:32 +01:00
Mike McQuaid
f4e2432284 portable-ruby: increase to 2.3.1_1.
Install the latest Ruby from:
https://github.com/Homebrew/homebrew-portable-ruby/pull/55

This updates ncurses and openssl as well as more closely matching the
Apple's ruby build options.

Notably, this includes the DBM support needed for #3720.
2018-04-30 08:43:43 +01:00
Mike McQuaid
ae5e904c08 Only read curlrc if HOMEBREW_CURLRC is set.
This reverses the previous, incorrect order.
2018-04-09 15:43:03 -07:00
Mike McQuaid
0bd5869319 Add/use HOMEBREW_CURLRC variable. 2018-04-08 15:51:58 -07:00
Stefan Sundin
0ec47813f1 Prevent .curlrc from being loaded. 2018-04-06 14:13:26 -07:00
Buck Evan
0a2e649f00 type -P is more portable than which
Migrated from https://github.com/Linuxbrew/brew/pull/621
2018-03-18 16:51:22 -07:00
Mike McQuaid
fea90825fb vendor-install: various portable ruby tweaks.
- Rename repository to homebrew-portable-ruby
- Add a new Bintray repository using new name
- Add GitHub releases mirror and try to use it
- Tell people not to file issues if they can't connect to Bintray or
  GitHub: we're not here to provide ISP/proxy support.
2018-01-14 13:49:26 +00:00
Shaun Jackman
2dbc4ffaf3 vendor-install: Add ARM bottle for portable-ruby 2017-11-27 12:09:27 -08:00
Shaun Jackman
6da95d882d vendor-install: Observe HOMEBREW_STDERR
Suppress stderr unless HOMEBREW_STDERR is set.
2017-11-16 11:08:50 -08:00
Mike McQuaid
270b752f5d Merge pull request #3326 from sjackman/portable-ruby
portable-ruby: use rebuild with coverage support for Linux.
2017-10-18 11:04:56 +01:00
Mike McQuaid
d601edaf57 vendor-install: use full shasum PATH.
Otherwise things can explode if there's a random `shasum`.

See #3281.
2017-10-17 20:51:32 +01:00
Shaun Jackman
90ca552ba6 portable-ruby: use rebuild with coverage support for Linux.
This will allow `simplecov` to generate coverage by rebuilding portable
Ruby with coverage support.
2017-10-16 12:26:55 -07:00
Mike McQuaid
222da9de1c portable-ruby: use rebuild with coverage support.
This will allow `simplecov` to generate coverage by rebuilding portable
Ruby with coverage support.
2017-09-25 19:15:58 +01:00
Mike McQuaid
9697c8638c vendor-install: output only to stderr.
This avoids causing errors in scripts that call e.g. `brew --prefix`.
2017-09-25 06:53:23 +01:00
Mike McQuaid
3343467475 Merge pull request #3189 from MikeMcQuaid/portable-ruby-messaging
portable-ruby: improve installation messaging.
2017-09-23 10:58:26 +01:00
Mike McQuaid
aa665b9458 portable-ruby: improve installation messaging.
- Use “Pouring” to be more consistent with our normal messaging.
- Don’t be silent by default.
2017-09-22 15:54:29 +01:00
Shaun Jackman
353810d934 Upgrade vendored Ruby to 2.3.3 for Linux. 2017-09-21 17:02:42 -07:00
Mike McQuaid
b2b413165f Upgrade vendored Ruby to 2.3.3.
Use this version whenever 2.3.3 isn't installed. Also, remove the Linux
portable Ruby for now until it's built to be the same version.
2017-09-21 14:27:17 +01:00
Misty De Meo
587f338daa
vendor-install: use Ruby as a sha256 fallback
But still prefer shasum/sha256sum where present.
2017-05-30 18:48:55 -07:00
Misty De Meo
6453c81dac
vendor-install: fix array syntax for old bash 2017-05-23 18:39:35 -07:00
Misty De Meo
b8fee7fe4d
vendor-install: check -x on output of which
This works around older versions of `which`, which return a
string on failure.
2017-05-23 18:36:25 -07:00
Mike McQuaid
3f9cce0a03 Use new "macOS" naming where appropriate.
Not quite a mass replacement as I've used OS X and Mac OS X where
describing specific older versions and added compatibility methods
for things in the DSL.
2016-09-18 19:57:19 +01:00
Mike McQuaid
4eaa40ae1f Enable vendored Ruby 2.0. 2016-08-10 20:06:14 +01:00
Martin Afanasjew
3d862ef5e2 cmd/vendor-install.sh: fix style inconsistencies 2016-08-08 16:00:12 +02:00
Xu Cheng
c2ece46e1b
various: don't assume non-OS X == Linux. 2016-07-14 15:41:09 +08:00
Xu Cheng
a35e3f1fc1
add vendor-install command 2016-07-11 21:12:56 +08:00