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

Error: punktde/public/docker-ssh-auth-sock: wrong number of arguments (given 1, expected 0) #3

Open
curkan opened this issue Dec 10, 2022 · 2 comments

Comments

@curkan
Copy link

curkan commented Dec 10, 2022

Hello, I give error:
Error: punktde/public/docker-ssh-auth-sock: wrong number of arguments (given 1, expected 0)
Снимок экрана 2022-12-10 в 21 02 53

MacBook Pro M1 Pro

@davidpelayo
Copy link

Same issue here. Any suggested solution?

@davidpelayo
Copy link

I managed to overcome this issue by manually modifying /opt/homebrew/Homebrew/Library/Taps/punktde/homebrew-public/Formula/docker-ssh-auth-sock.rb

And, as I am running Ruby 3.3.4, changing in the code:

plist_options :manual => "docker-ssh-auth-sock"

by:

@plist_manual = "docker-ssh-auth-sock"

And then installing it from the source, with: brew install --build-from-source /opt/homebrew/Homebrew/Library/Taps/punktde/homebrew-public/Formula/docker-ssh-auth-sock.rb - Note that the Homebrew path is the Mx Mac OS one instead of the Intel. Hence why the /opt/homebrew/....

Here the reference where I found the alternative, as I was getting:

Error: docker-ssh-auth-sock: undefined method `plist_options' for class Formulary::FormulaNamespace<hash>::DockerSshAuthSock

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

No branches or pull requests

2 participants