I''m trying to configure a rails project hosted on github with CruiseControl. It''s a project that I can manually clone and build just fine. The whole "./cruise add ..." command seems to work fine, but when I run ''./cruise start'', I keep getting this error: /Users/grant/.cruise/projects/pikimal-master/work grant$ git submodule init No submodule mapping found in .gitmodules for path ''Pikimal'' But I''m not using any git submodules. Has anyone seen a similar error? Know why cruisecontrol is running "git submodule init"? Any tips on how to fix it? Would any more info be helpful? Thanks, -Grant -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20100429/9c164e77/attachment-0001.html>
do you get the same error when running ''git submodule init'' from a fresh clone? If so, you have something wrong. If you have no submodules, delete .gitmodules, and any references to submodules in .git/config, and ensure the Pikimal dir does not have a .git dir in it. If that fixes the problem, check in and do the same on your cruise working copy. On Thu, Apr 29, 2010 at 12:07 PM, Grant Olson <grant at pikimal.com> wrote:> I''m trying to configure a rails project hosted on github with > CruiseControl.? It''s a project that I can manually clone and build just > fine. > > The whole "./cruise add ..." command seems to work fine, but when I run > ''./cruise start'', I keep getting this error: > > /Users/grant/.cruise/projects/pikimal-master/work grant$ git submodule init > No submodule mapping found in .gitmodules for path ''Pikimal'' > > But I''m not using any git submodules. > > Has anyone seen a similar error?? Know why cruisecontrol is running "git > submodule init"?? Any tips on how to fix it?? Would any more info be > helpful? > > Thanks, > > -Grant > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > >
On 4/29/10 3:40 PM, Chad Woolley wrote:> do you get the same error when running ''git submodule init'' from a > fresh clone? If so, you have something wrong. If you have no > submodules, delete .gitmodules, and any references to submodules in > .git/config, and ensure the Pikimal dir does not have a .git dir in > it. If that fixes the problem, check in and do the same on your > cruise working copy. > >Thanks. That was enough to get me going. Just for the archives... There was some sort of stale file floating around. If I switched to a branch that works on my local git repository, I''d get the warning: warning: unable to unlink Pikimal: Operation not permitted When I removed the directory and commited, things started working again.