Shards rake update error

I’m trying to install the Shards extension, but when I run the update
rake task, I get the error, “Don’t know how to build task

Here’s the text from my console window:

C:\Users\Ben\BitNami RubyStack projects\concretedesigncenter>rake
radiant:extensions:shards:update --trace
(in C:/Users/Ben/BitNami RubyStack projects/concretedesigncenter)
rake aborted!
Don’t know how to build task ‘radiant:extensions:shards:update’
C:/Program Files/BitNami
[]' C:/Program Files/BitNami RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1930:ininvoke_task’
C:/Program Files/BitNami
top_level' C:/Program Files/BitNami RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:ineach’
C:/Program Files/BitNami
top_level' C:/Program Files/BitNami RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:instandard_exception_handling’
C:/Program Files/BitNami
top_level' C:/Program Files/BitNami RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:inrun’
C:/Program Files/BitNami
standard_exception_handling' C:/Program Files/BitNami RubyStack/ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:inrun’
C:/Program Files/BitNami
C:/Program Files/BitNami RubyStack/ruby/bin/rake:16:in `load’
C:/Program Files/BitNami RubyStack/ruby/bin/rake:16

Any ideas?



Shards doesn’t use or provide that task. No need to run it!


Thanks, Sean.

I was having trouble installing the Reorder extension, and thought the
cause might have been that I didn’t run the update task on the
Shardsextension since it is required for Reorder.

I had the error: ## undefined method `page’ for

The solution was to edit Radiant’s environment.rb file:

config.extensions = [:shards, :all]

I found that information on the Reorder extension announcement
( It was also available on the
“Using the Shards Extension” article in the Wiki

In my defense, I had not yet read the Wiki article because I was really
only interested in installing Reorder and not in developing for Shards.

I did on the other hand read the README file in the Shards directory
prior to posting, so maybe adding the bit about how you must edit the
envirironment.rb file would help people who struggle with this in the

Thanks once again for all your hard work!


The requirement for shards is hard to catch sometimes which is why I
can’t wait for it to be integrated into core.

(hint at seancribbs) lol.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs