# Installing copy/move in 0.6.4

**URL:** <https://www.ruby-forum.com/t/installing-copy-move-in-0-6-4/125086>\
**Category:** Radiant CMS\
**Created:** [January 5, 2008, 6:09am UTC](https://www.ruby-forum.com/t/installing-copy-move-in-0-6-4/125086 "2008-01-05T06:09:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [January 5, 2008, 6:09am UTC](https://www.ruby-forum.com/t/installing-copy-move-in-0-6-4/125086/1 "2008-01-05T06:09:30Z")

</div>

Hi, I’m trying to get the copy/move extension installed in 0.6.4, but  
when I  
try to run the rake, it aborts and says:  
rake aborted!  
The Shards extension is required and must be loaded first!

The weird thing though is that I’ve already installed the Shards  
extension  
and it shows up enabled in my extensions list. Am I missing a step  
somewhere? Has anyone else had trouble getting copy/move running in  
0.6.4?

Thanks!

–  
-Grant B.  
removed\_email\_address@domain.invalid

> **[Grant Blakeman | A developer & designer based in Los Angeles, California.](https://grantblakeman.com/)**
>
> A developer and designer based in Los Angeles, California.

---

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [January 5, 2008, 12:57pm UTC](https://www.ruby-forum.com/t/installing-copy-move-in-0-6-4/125086/2 "2008-01-05T12:57:40Z")

</div>

On Jan 5, 2008 6:08 AM, Grant B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thanks!
> 
> –  
> -Grant B.

Hi Grant, open the environment.rb and set shards as first extension to  
be  
loaded:

config.extensions = [:shards, :textile\_filter, :markdown\_filter, :all]

Now it should work! I’m going to add this documentation in the README  
file!  
Let me know if its all ok!

–  
Andrea F.  
[http://gravityblast.com](http://gravityblast.com) - [http://nimboo.net](http://nimboo.net)

---

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [January 5, 2008, 8:44pm UTC](https://www.ruby-forum.com/t/installing-copy-move-in-0-6-4/125086/3 "2008-01-05T20:44:34Z")

</div>

Hi Andrea,

I knew there was probably a way to tell radiant what order to load  
extensions, but I didn’t know how. That worked and now Radiant loads.

But after I created my home page, I get an error when I try to view  
the pages list. It looks like it has something to do with Shards - so  
it may not be Copy/Move, but I can’t tell since this is the first time  
I’ve tried to use 0.6.4. The output of the error is below:

Showing vendor/extensions/shards/app/views/admin/page/\_node.rhtml  
where line #2 raised:

wrong number of arguments (0 for 1)

Extracted source (around line #2):

1:   
2:   
3:   
4: \<% if simple -%\>  
5: \<%= icon %\>

Trace of template inclusion:  
/vendor/extensions/shards/app/views/admin/page/index.rhtml

On 1/5/08, Andrea F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > somewhere? Has anyone else had trouble getting copy/move running in 0.6.4?  
> > config.extensions = [:shards, :textile\_filter, :markdown\_filter, :all]  
> > Post: removed\_email\_address@domain.invalid  
> > Search: [http://radiantcms.org/mailing-list/search/](http://radiantcms.org/mailing-list/search/)  
> > Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

–  
-Grant B.  
removed\_email\_address@domain.invalid

> **[Grant Blakeman | A developer & designer based in Los Angeles, California.](https://grantblakeman.com/)**
>
> A developer and designer based in Los Angeles, California.

---

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [January 5, 2008, 9:14pm UTC](https://www.ruby-forum.com/t/installing-copy-move-in-0-6-4/125086/4 "2008-01-05T21:14:59Z")

</div>

> Extracted source (around line #2):
> 
> 1:
> 
>   
> 2:   
> 3:   
> 4: \<% if simple -%\>  
> 5: \<%= icon %\>
> 
> Trace of template inclusion:  
> /vendor/extensions/shards/app/views/admin/page/index.rhtml
> 
>  
> 
> I believe this is fixed in a newer version of shards. I’m running  
> shards off the trunk and it works fine.
> 
>  
> 
> Cheers,  
> Marty

---

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [January 5, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/installing-copy-move-in-0-6-4/125086/5 "2008-01-05T21:39:36Z")

</div>

Beautiful - I updated to the trunk version and everything is working  
beautifully. Thanks all for your help!  
-gb

---

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [January 5, 2008, 9:17pm UTC](https://www.ruby-forum.com/t/installing-copy-move-in-0-6-4/125086/6 "2008-01-05T21:17:20Z")

</div>

On Jan 5, 2008 9:14 PM, Marty H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I believe this is fixed in a newer version of shards. I’m running  
> shards off the trunk and it works fine.
> 
> Cheers,  
> Marty

Cool! 😉

–  
Andrea F.  
[http://gravityblast.com](http://gravityblast.com) - [http://nimboo.net](http://nimboo.net)

---

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [January 7, 2008, 4:27am UTC](https://www.ruby-forum.com/t/installing-copy-move-in-0-6-4/125086/7 "2008-01-07T04:27:56Z")

</div>

removed\_email\_address@domain.invalid writes:

> Extracted source (around line #2):
> 
> 1:   
> 2:   
> 3:   
> 4: \<% if simple -%\>  
> 5: \<%= icon %\>
> 
> Trace of template inclusion:  
> /vendor/extensions/shards/app/views/admin/page/index.rhtml

Yes. There’s a bug in the 0.6.4 tag release of shards. The line 2  
above should be:

```
<td class="page" style="padding-left: <%= padding_left(level) %>px">

```

There probably should be some note made on the wiki about this.

–  
J Aaron F. [jadetower.com](http://jadetower.com) [US] +1 724-964-4515  
é¦®å‚‘ä» [cubiclemuses.com](http://cubiclemuses.com) [HK] +852 8123-7905
