This is really a git question but the problem is with rails using git
others may have come across the problem.
I have a branch on my application’s git repository with edge rails as a
subproject checked out into vendor/rails. this allows me to keep my
application edge-compliant by checking out the branch (which creates the
rails folder in vendor), pulling the latest edge rails and running my
tests. This works fine.
The problem comes when I checkout the master again (which does not have
vendor/rails folder). Git removes the contents of vendor/rails but
empty rails folder. The application will not run, the empty rails folder
confuses it, so I have to manually delete the folder. Obviously I can
a simple script to solve the problem but I wonder if there is a way of
telling git to remove the empty folder. Or perhaps there is an
I have googled in vain.