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

brew confused between devinci-code and ahoy-cli namespaces #1

Open
kmcculloch opened this issue Mar 26, 2017 · 0 comments
Open

brew confused between devinci-code and ahoy-cli namespaces #1

kmcculloch opened this issue Mar 26, 2017 · 0 comments

Comments

@kmcculloch
Copy link

Using homebrew to install Ahoy v2 via instructions at http://ahoy-cli.readthedocs.io/en/latest/:

mac:~$ brew tap devinci-code/tap
==> Tapping devinci-code/tap
Cloning into '/usr/local/Homebrew/Library/Taps/devinci-code/homebrew-tap'...
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), done.
Tapped 1 formula (28 files, 21.5KB)
mac:~$ brew install ahoy --HEAD
==> Installing ahoy from devinci-code/tap
==> Installing dependencies for devinci-code/tap/ahoy: go
==> Installing devinci-code/tap/ahoy dependency: go
==> Downloading https://homebrew.bintray.com/bottles/go-1.8.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring go-1.8.sierra.bottle.tar.gz
==> Caveats
A valid GOPATH is required to use the `go get` command.
If $GOPATH is not specified, $HOME/go will be used by default:
  https://golang.org/doc/code.html#GOPATH

You may wish to add the GOROOT-based install location to your PATH:
  export PATH=$PATH:/usr/local/opt/go/libexec/bin
==> Summary
🍺  /usr/local/Cellar/go/1.8: 7,017 files, 281.6MB
==> Installing devinci-code/tap/ahoy --HEAD
==> Cloning https://github.com/DevinciHQ/ahoy.git
Cloning into '/Users/kevin/Library/Caches/Homebrew/ahoy--git'...
remote: Counting objects: 82, done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 82 (delta 1), reused 61 (delta 0), pack-reused 0
Unpacking objects: 100% (82/82), done.
==> Checking out branch master
Warning: tried to stage empty Language::Go resources array
==> bash src/github.com/DevinciHQ/ahoy/build.sh github.com/DevinciHQ/ahoy
Last 15 lines from /Users/kevin/Library/Logs/Homebrew/ahoy/01.bash:
2017-03-26 16:09:38 -0400

bash
src/github.com/DevinciHQ/ahoy/build.sh
github.com/DevinciHQ/ahoy

[Error] This repo should be at one of the following paths:
/private/tmp/ahoy-20170326-36985-1k1lqou/src/github.com/ahoy-cli/ahoy
  but instead it is at:
  /private/tmp/ahoy-20170326-36985-1k1lqou (Move it)

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/devinci-code/homebrew-tap/issues

/usr/local/Homebrew/Library/Homebrew/utils/github.rb:226:in `raise_api_error': curl failed!  (GitHub::Error)
curl: (22) The requested URL returned error: 422 Unprocessable Entity
curl: (3) <url> malformed
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:184:in `open'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:233:in `issues_matching'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:266:in `issues_for_formula'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:338:in `fetch_issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:334:in `issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:396:in `dump'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:130:in `rescue in <main>'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:31:in `<main>'

I noticed in the error that brew was looking for github.com/ahoy-cli in the path, so I visited https://github.com/ahoy-cli/ahoy and behold: an instruction to tap ahoy-cli/tap instead, which allowed me to install 2.0.0-beta1. So maybe you just need to clean up the old readthedocs instructions?

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

1 participant