# Radiant freeze:edge and github vs capistrano

**URL:** <https://www.ruby-forum.com/t/radiant-freeze-edge-and-github-vs-capistrano/149534>\
**Category:** Radiant CMS\
**Created:** [September 25, 2008, 9:18pm UTC](https://www.ruby-forum.com/t/radiant-freeze-edge-and-github-vs-capistrano/149534 "2008-09-25T21:18:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bodikp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e79b87/32.png) [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Post date:** [September 25, 2008, 9:18pm UTC](https://www.ruby-forum.com/t/radiant-freeze-edge-and-github-vs-capistrano/149534/1 "2008-09-25T21:18:59Z")

</div>

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  
see  
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,  
but  
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?

Thanks.

–  
met vriendelijke groet,

Peter B.

---

<div class="post-metadata">

**Author:** ![bodikp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e79b87/32.png) [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Post date:** [September 25, 2008, 9:22pm UTC](https://www.ruby-forum.com/t/radiant-freeze-edge-and-github-vs-capistrano/149534/2 "2008-09-25T21:22:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![bodikp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e79b87/32.png) [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Post date:** [September 25, 2008, 9:27pm UTC](https://www.ruby-forum.com/t/radiant-freeze-edge-and-github-vs-capistrano/149534/3 "2008-09-25T21:27:48Z")

</div>

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

Peter

On Thu, Sep 25, 2008 at 9:21 PM, john [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > see
> > 
> > * * *
> 
> Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

–  
met vriendelijke groet,

Peter B.
