Homebrew on MAC OS (Yosemite) Update


After installed homebrew, when you run any “brew  command”, If you keep getting this error:

Homebrew requires Leopard or higher. For Tiger support, see:
https://github.com/mistydemeo/tigerbrew 

Do the following step to rectify this error.

Edit the brew.rb file to get this : (Which may be at /usr/local/Library)

Find following lines

if MACOS and MACOS_VERSION < 10.5
  abort <<-EOABORT.undent
    Homebrew requires Leopard or higher. For Tiger support, see:
    http://github.com/sceaga/homebrew/tree/tiger
  EOABORT
end    

Do following changes

if MACOS and MACOS_VERSION < 10.5 and MACOS_VERSION != 10.1
  abort <<-EOABORT.undent
    Homebrew requires Leopard or higher. For Tiger support, see:
    http://github.com/sceaga/homebrew/tree/tiger
  EOABORT
end

And yeah you done. Enjoy 🙂