The create_postgis_template
task is defined within the postgres
namespace; so it would be called from rake postgres:create_postgis_template
command, and not rake create_postgis_template
command.
Best to run rake -T
to see all the tasks available as rake
tasks.