I'm trying to deploy an app on engine yard. I'm using rails 2.3.5 and ruby 1.8.7
When I try to deploy it,
~> Deploying revision 481f05e emergency commit
:: running git checkout -q '481f05e42f3e13b5eda7e598a1b797b031c9ca5e'
:: running git submodule sync
Synchronizing submodule url for ''
:: running git submodule update --init
No submodule mapping found in .gitmodules for path 'schoo开发者_开发知识库l'
No submodule mapping found in .gitmodules for path 'school'
*** [Error] Git could not checkout (481f05e42f3e13b5eda7e598a1b797b031c9ca5e) ***
Is the git submodule sync causing the problem?
I do not have any submodules in my repository.
I do not have any submodules in my repository.
That means you shouldn't see any .gitmodules
file in your repo.
If there is, that means that you have somehow a submodule declared (in which case you might want to remove it).
If there isn't any .gitmodules file, then something within the school path makes the deployment script believe it is a submodules, and tries to access the (non-existent) .gitmodules
file of the parent repo.
May be school
has a .git
directory in it?
I was experiencing this as well, but had a different solution. Simply, gemfile was referencing a version on github, but I had failed to push the latest commits online. So once I made sure all my subrepos were up to date, it was able to checkout.
精彩评论