I was doing an exercise from the ruby on rails tutorial which involves installing postgresql. Following the instructions from a rails cast linked in the tutorial, I did
brew install postgresql
This errored. On searching online, found a thread on a forum which suggested doing
brew unlink ossp-uuid && brew link ossp_uuid
I don’t know what this is achieving. The command failed (I think the first part succeeded). The error:
Could not symlink file: /usr/local/Cellar/ossp-uuid/1.6.2/share/man/man3/uuid.3
/usr/local/share/man/man3 is not writable. You should change its permissions.
What is this about? Why do we need to create this symbolic link?
Thanks in advance!
You likely need to use sudo before the command.
Alternatively, postgres can be installed from an installer from their site: Mac OS X installer