método indefinido 'permit_weak_imports' com instalação direta

0

Não consigo instalar o hub . Ao executar

https://github.com/github/hub/issues/new

Eu recebo o erro

 Error: undefined method 'permit_weak_imports' for #<Object:0x0000000220d0d0>

Qual é a origem desse erro e como corrigi-lo?

Saída completa:

$ brew install hub
==> Installing dependencies for hub: go
==> Installing hub dependency: go
==> Downloading https://storage.googleapis.com/golang/go1.7.1.src.tar.gz
Already downloaded: /home/user/.cache/Homebrew/go-1.7.1.tar.gz
Error: undefined method 'permit_weak_imports' for #<Object:0x0000000220d0d0>
Please report this bug:
    https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
/home/user/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/go.rb:59:in 'install'
/home/user/.linuxbrew/Library/Homebrew/build.rb:130:in 'block in install'
/home/user/.linuxbrew/Library/Homebrew/formula.rb:930:in 'block in brew'
/home/user/.linuxbrew/Library/Homebrew/formula.rb:1553:in 'block in stage'
/home/user/.linuxbrew/Library/Homebrew/resource.rb:92:in 'block in unpack'
/home/user/.linuxbrew/Library/Homebrew/extend/fileutils.rb:37:in 'mktemp'
/home/user/.linuxbrew/Library/Homebrew/resource.rb:88:in 'unpack'
/home/user/.linuxbrew/Library/Homebrew/resource.rb:81:in 'stage'
/home/user/.linuxbrew/Library/Homebrew/formula.rb:1543:in 'stage'
/home/user/.linuxbrew/Library/Homebrew/formula.rb:926:in 'brew'
/home/user/.linuxbrew/Library/Homebrew/build.rb:108:in 'install'
/home/user/.linuxbrew/Library/Homebrew/build.rb:177:in '<main>'
    
por user123456 28.10.2016 / 10:42

1 resposta

0

Você só precisa atualizar o Homebrew execute o comando - > atualização brew

    
por 20.01.2017 / 13:53