Homebrew upgrade failure fix

Posted by Dan Sosedoff on January 19, 2012

If you have an old homebrew installation, upgrade method for package will fail with something like this:

Error: undefined method `include?' for nil:NilClass
Please report this bug:
    https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
/usr/local/Library/Homebrew/formula.rb:417:in `canonical_name'
/usr/local/Library/Homebrew/formula.rb:449:in `factory'
/usr/local/Library/Contributions/examples/brew-upgrade.rb:7
/usr/local/Library/Contributions/examples/brew-upgrade.rb:7:in `map'
/usr/local/Library/Contributions/examples/brew-upgrade.rb:7
/usr/local/bin/brew:47:in `require'
/usr/local/bin/brew:47:in `require?'
/usr/local/bin/brew:80

This happens because of old brew-update command. Pretty annoying, so to fix it just run the following script:

cd `brew --prefix`/Library/Contributions/examples
git clean -n
git clean -f

Moved to Rackspace Cloud!

Posted by Dan Sosedoff on June 01, 2010

Moved this blog to rackspace cloud after almost 2 year service with UltraHosting. Had a dedicated server (512 Ram/ 70 Hdd / Celeron 1.8 / 100mbit) for $66/mo in Toronto, Canada. Good service.

Now switched to PHP 5.3.2 + php-fpm + nginx 0.7.65

Back to business

Posted by Dan Sosedoff on January 14, 2010

Im back to my blog, which i havent updated since last october. Need to throw some more articles.

Blog is back!

Posted by Dan Sosedoff on September 17, 2009

Recovered blog. Will start write some other stuff soon.

UFO Crashed Here

Posted by Dan Sosedoff on January 15, 2009

Ufo`s servers crashed during the flight and their craft landed here.. Ok, let`s find something to eat on this small planet ;)