I have a web project set to deploy from a git repo.
If I set up the project with http submodules (e.g. http://github....etc) it fails to deploy, with:
** [my-dev-server.com :: out] Synced lib/vendor/odm
** [my-dev-server.com :: out] Cloning into lib/vendor/odm...
** [my-dev-server.com :: err] fatal: Unable to find remote helper for 'http'
** [my-dev-server.com :: err] Clone of 'http://github.com/doctrine/mongodb-odm.git' into submodule path 'lib/vendor/odm' failed
Seems to be to do with the submodule access method as it works fine if I:
- remove the submodules
- set the submodules via ssh rather than http (i.e. git@github.... etc)
Does anyone know what causes this error and how to fix it?
I don't think there is an issue with using http for a submodule as I've seen other capistrano tutorials with http submodules, and no mention of it being a special case.
Thanks.