[Cruisecontrolrb-users] No submodule mapping found?

11 views
Skip to first unread message

Grant Olson

unread,
Apr 29, 2010, 3:07:43 PM4/29/10
to cruisecont...@rubyforge.org
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

Chad Woolley

unread,
Apr 29, 2010, 3:40:44 PM4/29/10
to cruisecont...@rubyforge.org
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.
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecont...@rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
>
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecont...@rubyforge.org
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

--
You received this message because you are subscribed to the Google Groups "Cruisecontrol.rb Rubyforge mailing list" group.
To post to this group, send email to cruisecontrolrb-rub...@googlegroups.com.
To unsubscribe from this group, send email to cruisecontrolrb-rubyforge...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cruisecontrolrb-rubyforge-mailing-list?hl=en.

Grant Olson

unread,
Apr 29, 2010, 4:46:33 PM4/29/10
to cruisecont...@rubyforge.org
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.
Reply all
Reply to author
Forward
0 new messages