Skip to content

Conversation

@MikeMcQuaid
Copy link
Member

We only support Ruby 2.3, now.

@MikeMcQuaid MikeMcQuaid merged commit e72fde4 into Homebrew:master Dec 8, 2017
@MikeMcQuaid MikeMcQuaid deleted the formula_assertions_ruby_23 branch December 8, 2017 21:01
dochang added a commit to dochang/homebrew-binary that referenced this pull request Dec 21, 2017
dochang added a commit to dochang/homebrew-binary that referenced this pull request Dec 21, 2017
Travis reports the following error even rvm uses 2.3.x:

```
/usr/lib/ruby/1.9.1/rubygems/version.rb:191:in `strip!': can't modify frozen String (RuntimeError)
	from /usr/lib/ruby/1.9.1/rubygems/version.rb:191:in `initialize'
	from -e:1:in `new'
	from -e:1:in `<main>'
/home/travis/.linuxbrew/Library/Homebrew/brew.rb:12:in `<main>': Homebrew must be run under Ruby 2.3! You're running 1.9.3. (RuntimeError)
```

Force to use Homebrew vendored ruby to solve this issue.

[1]: Linuxbrew/brew@40af9e6#diff-354f30a63fb0907d4ad57269548329e3
[2]: Homebrew/brew@40af9e6#diff-354f30a63fb0907d4ad57269548329e3
[3]: https://github.com/Linuxbrew/brew/blob/02773af31860e14d247def718a25b16667e94012/Library/Homebrew/cmd/vendor-install.sh
[4]: https://github.com/Homebrew/brew/blob/75d032129a94210937718ac72c5e74a59360a5fd/Library/Homebrew/cmd/vendor-install.sh
[5]: Homebrew/brew#3240
[6]: Homebrew/brew#3546
@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant