Radiant freeze:edge and github vs capistrano

I’m currently working on another radiant instance and I’m using github.

I freezed the edge of radiant in my project, in my github account I can
a link in vendor/radiant but thats it…

When I do a deploy, the code inside vendor/radiant is not checked-out…
(euh… pulled)

I tried to add set :git_enable_submodules, 1 to my capistrano deploy.rb,
this is giving met the following error:

No submodule mapping found in .gitmodules for path ‘vendor/radiant’

I will investigate further… looking for a .gitmodules for example…

But anyone with a solution?


met vriendelijke groet,

Peter B.

The freeze task does a clone into vendor/radiant as opposed to adding
it as a submodule. To put it in as a submodule first unfreeze (i.e.
delete vendor/radiant) then try

git submodule add git://github.com/radiant/radiant.git vendor/radiant

Then on a new deployment you’ll need to run

git submodule init
git submodule update

I’m guessing that’s what :git_enable_submodules, 1 tries and fails
to do. So you may never need to manually run the last two commands.

Github does something funny with the cloned radiant. It only links it…
something like that… I don’t really understand why it is like this…


On Thu, Sep 25, 2008 at 9:21 PM, john [email protected] wrote:


Site: http://lists.radiantcms.org/mailman/listinfo/radiant

met vriendelijke groet,

Peter B.