Mac OS Travis fails on master
Bug #1727021 reported by
SirVer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
It complains about ruby?
https:/
Related branches
lp://staging/~hjd/widelands/macos-brew-update-workaround
- Widelands Developers: Pending requested
-
Diff: 11 lines (+1/-0)1 file modified.travis.yml (+1/-0)
lp://staging/~hjd/widelands/osx-update
- Widelands Developers: Pending requested
-
Diff: 35 lines (+7/-2)2 files modified.travis.sh (+6/-1)
.travis.yml (+1/-1)
lp://staging/~hjd/widelands/osx-new-default
- GunChleoc: Approve
-
Diff: 11 lines (+0/-1)1 file modified.travis.yml (+0/-1)
Changed in widelands: | |
importance: | Undecided → High |
assignee: | nobody → Hans Joachim Desserud (hjd) |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | Hans Joachim Desserud (hjd) → nobody |
milestone: | none → build20-rc1 |
To post a comment you must log in.
/usr/local/ Homebrew/ Library/ Homebrew/ brew.rb: 12:in `<main>': Homebrew must be run under Ruby 2.3! You're running 2.0.0. (RuntimeError)
Hm, indeed it does.
Looks like the same issue has hit multiple other projects (https:/ /github. com/travis- ci/travis- ci/issues/ 8552, see in particular comment https:/ /github. com/travis- ci/travis- ci/issues/ 8552#issuecomme nt-335430374 which explains the underlying issue). Apparently brew tries to autoupdate when installing packages and run into the error messages. The workaround for now is to update brew manually before installing packages, I'll soon push a branch where we can test this.
A proper fix might come with the new default osx images due soon https:/ /blog.travis- ci.com/ 2017-10- 16-a-new- default- os-x-image- is-coming so hopefully the workaround will be temporary...