Nginx was working fine on Mavericks, and now after I upgraded to Yosemite its displaying nginx command not found , I tried to install nginx with brew install nginx and it displays an error
Error: You must brew link pcre before nginx can be installed
And brew link pcre
displays
Linking /usr/local/Cellar/pcre/8.35... Error: No such file or directory - /usr/local/Cellar/pcre/8.34/share/doc/pcre
Its trying to link 8.34. I reinstalled still its same, How do i solve it?