Jun 13 2009
∞
awesome git plugin gotcha
1. (apparently) git considers any directory with a .git file in it as a submodule.
2. the restful_authentication recommends cloning instead of using script/plugin (which removes the .git file) because of naming issues.
3. capistrano does not appear to pull git submodules by defaul
1 + 2 + 3 = tests pass on local, but production can’t run (because the plugin code doesn’t deploy).
fun.
update: of course, the obvs fix is to remove the .git file, then redeploy. Git doesn’t like to rm submodules, so I had to rm -rf the dir, then git rm it, then grab a copy without a .git file and add it.