I restored my Mac running 10.9 from time machine after a re-install but it appears that the symbolic links under /usr/local/bin
for some of the formulas were lost.
You can brew unlink
and brew link
for each app.
If its painful for you, you can back up from your timemachine "after boot".
If you import data from your timemachine at starting your machine, brew broken, but after you restart your machine once, it will work.
Instead of reinstating the symlinks, the better way to do it would be to use brew link
.
For a given binary which isn't in /usr/local/bin
, e.g. yasm
, run brew unlink yasm && brew link yasm
.
You can run this for all of your packages using xargs
, like so:
brew list | xargs -I % sh -c 'brew unlink %; brew link %'