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: undefined method `rename_taps_dir_if_necessary' for Homebrew:Module #4192

Closed
sophiacodes opened this issue May 5, 2014 · 3 comments
Closed

Comments

@sophiacodes
Copy link

Trying to search a cask I got this error

$ brew cask search google
Error: undefined method `rename_taps_dir_if_necessary' for Homebrew:Module
Please report this bug:
    https://github.com/caskroom/homebrew-cask/issues
/usr/local/Cellar/brew-cask/0.34.0/rubylib/cask.rb:69:in `send'
/usr/local/Cellar/brew-cask/0.34.0/rubylib/cask.rb:69:in `set_up_taps'
/usr/local/Cellar/brew-cask/0.34.0/rubylib/cask.rb:47:in `init'
/usr/local/Cellar/brew-cask/0.34.0/rubylib/cask/cli.rb:69:in `process'
/usr/local/bin/brew-cask.rb:6
/usr/local/Library/brew.rb:51:in `require'
/usr/local/Library/brew.rb:51:in `require?'
/usr/local/Library/brew.rb:97
@vitorgalvao
Copy link
Member

We have been going through a lot of updates, lately. Could you please brew update && brew upgrade brew-cask, and try again?

@rolandwalker rolandwalker self-assigned this May 5, 2014
@rolandwalker
Copy link
Contributor

Hi @sophiacodes !

I see you are running homebrew-cask 0.34.0, which is good, but (as @vitorgalvao says) brew update will make sure you are also running the latest version of Homebrew.

If you still have the issue, then this one is my job to fix.

@sophiacodes
Copy link
Author

Hi @rolandwalker, @vitorgalvao

Thanks, I updated and upgraded and all working fine now. Cask is awesome!

rolandwalker added a commit to rolandwalker/homebrew-cask that referenced this issue May 7, 2014
To aid in Tap transition.  Require Homebrew 0.9.5, rescue
`rename_tags_dir_if_necessary` (`respond_to?` won't work there
because `rename_tags_dir_if_necessary` is a private method.

References: Homebrew#4192, @Jackiebo in Homebrew#4096
gaishimo pushed a commit to gaishimo/homebrew-cask that referenced this issue May 16, 2014
To aid in Tap transition.  Require Homebrew 0.9.5, rescue
`rename_tags_dir_if_necessary` (`respond_to?` won't work there
because `rename_tags_dir_if_necessary` is a private method.

References: Homebrew#4192, @Jackiebo in Homebrew#4096
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants