Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Error trying to cleanup on 10.5 #16655

Closed
cachitas opened this issue Dec 19, 2012 · 3 comments
Closed

Error trying to cleanup on 10.5 #16655

cachitas opened this issue Dec 19, 2012 · 3 comments

Comments

@cachitas
Copy link

Can anyone help me with this?

$ brew cleanup
Error: wrong argument type Symbol (expected Proc)
Please report this bug:
    https://github.com/mxcl/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/cmd/cleanup.rb:97:in `can_cleanup?'
/usr/local/Library/Homebrew/cmd/cleanup.rb:96:in `select'
/usr/local/Library/Homebrew/cmd/cleanup.rb:96:in `can_cleanup?'
/usr/local/Library/Homebrew/cmd/cleanup.rb:39:in `cleanup_formula'
/usr/local/Library/Homebrew/cmd/cleanup.rb:37:in `each'
/usr/local/Library/Homebrew/cmd/cleanup.rb:37:in `cleanup_formula'
/usr/local/Library/Homebrew/cmd/cleanup.rb:13:in `cleanup'
/usr/local/Library/Homebrew/cmd/cleanup.rb:11:in `each'
/usr/local/Library/Homebrew/cmd/cleanup.rb:11:in `cleanup'
/usr/local/bin/brew:94:in `send'
/usr/local/bin/brew:94

Doctor is fine.

@samueljohn
Copy link
Contributor

I guess this is an 10.5 issue with it's outdated Ruby. Homebrew does no longer support 10.5 (we don't test there). If there were more people to test formulae on 10.5 and open pull requests to fix homebrew on 10.5, I think that would be welcome.

However, there is https://github.com/mistydemeo/tigerbrew, I don't know if that helps.

Why does the doctor not complain? I think it should.

@jacknagel
Copy link
Contributor

Fixed in abc1bd2

@jacknagel
Copy link
Contributor

We don't really support 10.5, but we haven't had any real reason to break compatibility with ruby 1.8.6, so we will continue to fix issues in that respect.

Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Dec 25, 2012
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
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