Skip to content
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

Wrong brew tap on gonancy.dev #261

Open
jenslauterbach opened this issue Apr 28, 2022 · 1 comment
Open

Wrong brew tap on gonancy.dev #261

jenslauterbach opened this issue Apr 28, 2022 · 1 comment

Comments

@jenslauterbach
Copy link

  • What are you trying to do?

Install nancy on macOS using brew. To do this I used the documentation on https://gonancy.dev which provides the following commands:

$ brew tap sonatype-nexus-community/tap
$ brew install nancy

This causes the following error:

$ brew tap sonatype-nexus-community/tap
==> Tapping sonatype-nexus-community/tap
Cloning into '/usr/local/Homebrew/Library/Taps/sonatype-nexus-community/homebrew-tap'...
remote: Enumerating objects: 14, done.
remote: Total 14 (delta 0), reused 0 (delta 0), pack-reused 14
Receiving objects: 100% (14/14), done.
Resolving deltas: 100% (2/2), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/sonatype-nexus-community/homebrew-tap/Formula/nancy.rb
nancy: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the sonatype-nexus-community/tap tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/sonatype-nexus-community/homebrew-tap/Formula/nancy.rb:6

Error: Cannot tap sonatype-nexus-community/tap: invalid syntax in tap!

The reason is that the tap appears to be outdated.

  • What feature or behavior is this required for?

Installing nancy on macOS using brew.

  • How could we solve this issue? (Not knowing is okay!)

Update the documentation on https://gonancy.dev

At the moment the documentation states:

$ brew tap sonatype-nexus-community/tap
$ brew install nancy

It should be:

$ brew tap sonatype-nexus-community/nancy-tap
$ brew install nancy
  • Anything else?

I'd create a PR myself but was not able to find the repo where https://gonancy.dev is managed.

cc @bhamail / @DarthHater

@bhamail
Copy link
Contributor

bhamail commented Apr 28, 2022

@jenslauterbach Thanks for reporting this!
First: The correct brew command is shown on the nancy github page here: https://github.com/sonatype-nexus-community/nancy#install-via-homebrew-macos

Second: I'm actually not familiar with gonancy.dev. If you find more information about it, please post. I'm looking for more info too.

Third: I'll be sure to laugh loudly when I figure out I posted that site somehow, and have no memory of doing it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants