-
-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
non zero exit status for brew bundle after "Error: xyz already installed" #369
Comments
Looks like we're hitting homebrew-bundle/lib/bundle/installer.rb Line 37 in e854d79
homebrew-bundle/lib/bundle/installer.rb Line 48 in e854d79
Digging a little further in, the error message of |
Yes, I believe these packages are preinstalled on Travis.
My understanding was that Am I misunderstanding this? |
This means that this tool is already installed but not by Homebrew Cask. That is, rightfully, an error because Homebrew Cask doesn't know what version it is or if it's working. |
@MikeMcQuaid Postgres, python, and pyenv are not installed through homebrew cask |
Sorry misread. Are they linked? What’s your brew doctor and brew outdated output? |
@MikeMcQuaid I added the output of those commands to this CI build: https://travis-ci.org/WPMedia/laptop/jobs/433491261 It failed with the same issue as before. I copied the relevant portions below:
|
Sorry, that exit code is intentional. What just doing the equivalent of |
Running locally, I get:
|
Can I see the non-JSON |
hi @MikeMcQuaid, just following up here. small update, adding:
to the travis.yml file caused the postgres to change from:
to
which is great! Now I just need this same behavior with python/pyenv. Pretty Printed JSONsThese are the same JSONs as above, just pretty printed. pyenv
python
postgresql
|
The best debugging now would be |
My
brew bundle
is erroring out with a non-zero exit status after "Error: xyz already installed". I thought it would return exit code 0?build: https://travis-ci.org/WPMedia/laptop/builds/433174490
script: https://github.com/WPMedia/laptop/blob/master/mac
The script has a
trap
defined that looks like:and the brew bundle command looks like:
I saw a few other issues that were similar: #313, #258,
any ideas what's happening here?
The text was updated successfully, but these errors were encountered: