diff options
| author | Mike McQuaid | 2016-08-10 20:06:14 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-08-10 20:06:14 +0100 |
| commit | 4eaa40ae1f432f3fd49fef628928579cb7eba600 (patch) | |
| tree | 4a05fe67358685a3014d4522333ef241992c66b5 /share | |
| parent | 06fe347de97975dc01e726f87bf07a56a6fb713e (diff) | |
| download | brew-4eaa40ae1f432f3fd49fef628928579cb7eba600.tar.bz2 | |
Enable vendored Ruby 2.0.
Diffstat (limited to 'share')
| -rw-r--r-- | share/doc/homebrew/Common-Issues.md | 2 | ||||
| -rw-r--r-- | share/doc/homebrew/brew.1.html | 2 | ||||
| -rw-r--r-- | share/man/man1/brew.1 | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/share/doc/homebrew/Common-Issues.md b/share/doc/homebrew/Common-Issues.md index 1efc16793..70da99345 100644 --- a/share/doc/homebrew/Common-Issues.md +++ b/share/doc/homebrew/Common-Issues.md @@ -38,7 +38,7 @@ invalid multibyte escape: /^\037\235/ In the past, Homebrew assumed that `/usr/bin/ruby` was Ruby 1.8. On OS X 10.9, it is now Ruby 2.0. There are various incompatibilities between the two versions, so if you upgrade to OS X 10.9 while using a sufficiently old version of Homebrew, you will encounter errors. -The incompatibilities have been addressed in more recent versions of Homebrew, and it does not make assumptions about `/usr/bin/ruby`, instead it uses the executable inside OS X's Ruby 1.8 framework. +The incompatibilities have been addressed in more recent versions of Homebrew, and it does not make assumptions about `/usr/bin/ruby`, instead it uses the executable inside OS X's Ruby framework or a vendored Ruby. To recover from this situation, do the following: diff --git a/share/doc/homebrew/brew.1.html b/share/doc/homebrew/brew.1.html index b9b6bf3c0..1f9c3d54c 100644 --- a/share/doc/homebrew/brew.1.html +++ b/share/doc/homebrew/brew.1.html @@ -554,6 +554,8 @@ several formulae in the same directory.</p> <p><em>Note:</em> <code>brew edit</code> will open all of Homebrew as discontinuous files and directories. TextMate can handle this correctly in project mode, but many editors will do strange things in this case.</p></dd> +<dt><code>HOMEBREW_FORCE_VENDOR_RUBY</code></dt><dd><p>If set, Homebrew will always use its vendored, relocatable Ruby 2.0 version +even if the system version of Ruby is >=2.0.</p></dd> <dt><code>HOMEBREW_GITHUB_API_TOKEN</code></dt><dd><p>A personal access token for the GitHub API, which you can create at <a href="https://github.com/settings/tokens" data-bare-link="true">https://github.com/settings/tokens</a>. If set, GitHub will allow you a greater number of API requests. See diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index f3c5f3899..d39a35463 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -764,6 +764,10 @@ If set, Homebrew will use this editor when editing a single formula, or several \fINote:\fR \fBbrew edit\fR will open all of Homebrew as discontinuous files and directories\. TextMate can handle this correctly in project mode, but many editors will do strange things in this case\. . .TP +\fBHOMEBREW_FORCE_VENDOR_RUBY\fR +If set, Homebrew will always use its vendored, relocatable Ruby 2\.0 version even if the system version of Ruby is >=2\.0\. +. +.TP \fBHOMEBREW_GITHUB_API_TOKEN\fR A personal access token for the GitHub API, which you can create at \fIhttps://github\.com/settings/tokens\fR\. If set, GitHub will allow you a greater number of API requests\. See \fIhttps://developer\.github\.com/v3/#rate\-limiting\fR for more information\. Homebrew uses the GitHub API for features such as \fBbrew search\fR\. . |
