I'm trying to install postgis using my existent version of postgresql.
I tried doing:
brew install postgis. But I'm getting the following error trying run
create extension postgis; query
PG::UndefinedFile: ERROR: could not open extension control file "/opt/boxen/homebrew/Cellar/postgresql/9.3.2-boxen/share/postgresql/extension/postgis.control": No such file or directory
This is happening because brew is installing a fresh version of postgresql. When I inspect on the new postgres path I can find the missing postgis.control file.
So, the question is: how can I force postgis to use my existent postgresql installation?
(I'm using boxen, so It's not an option remove my actual postgres installation)