Postgis and Rails 4 error

Jake O'brien Fagan jake at
Wed Apr 9 00:39:09 UTC 2014


I am currently using your `postgresql-9.3-postgis-2.1` debian package. My
team and I upgrading our RoR app to Rails 4, and we keep throwing the same
error when attempting to create a database.

PG::RaiseException: ERROR:  PostGIS is already installed in schema
'public', uninstall it first : CREATE EXTENSION postgis SCHEMA public

For more information including my installation steps, please refer to my
question on stackoverflow:

I think this installation line might be conflicting with Rails:

sudo -u postgres psql -d template_postgis -f

Any suggestions on how to resolve?


Jake O'Brien Fagan

Development Operations Engineer <>
Facebook <> |
 | Instagram <>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Pkg-grass-devel mailing list