You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears something has changed, possibly external, and all of the macOS builds are failing (including nightly)
./installpsh-osx.sh: line 99: [: missing `]'
\n*** Installing PowerShell Core for osx...
Howebrew is already installed, skipping...
Installing cask...
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles-portable/portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz
/usr/local/Homebrew/Library/Homebrew/brew.rb:12:in `<main>': Homebrew must be run under Ruby 2.3! (RuntimeError)
ERROR: Cask failed to install! Cannot install powershell...
The command "./install-powershell.sh" failed and exited with 2 during .
Petr Bena (@benapetr) Homebrew always uses the system Ruby, so it likely started with Ruby 2.0.0, installed the vendored Ruby 2.3.3, but then didn't use the vendored Ruby the first time.
In the interim and until this is specifically addressed by Homebrew or Travis CI, I fixed this by passing the no-auto-update flag:
Activity
SteveL-MSFT commentedon Oct 9, 2017
I'm looking into this. The badge caching is also still an issue.
benapetr commentedon Oct 10, 2017
Hello,
How did you fix this? Our project has same issue.
mcarlucci commentedon Oct 10, 2017
Petr Bena (@benapetr) Homebrew always uses the system Ruby, so it likely started with Ruby 2.0.0, installed the vendored Ruby 2.3.3, but then didn't use the vendored Ruby the first time.
In the interim and until this is specifically addressed by Homebrew or Travis CI, I fixed this by passing the no-auto-update flag:
SteveL-MSFT commentedon Oct 10, 2017
Petr Bena (@benapetr) the main part of the fix was to move
brew updateearlier before using brewbenapetr commentedon Oct 10, 2017
oh, I tried this from your patch #5065 referenced in this thread, but maybe brew update would be better option: huggle/huggle3-qt-lx@95267bb
[Travis] osx: move brew update before other brew statements
add brew update command before doing anything,
Fix Travis CI macOS build failure