[Radiant] Re: Extensions trouble in 0.6.7

Sean Cribbs seancribbs at gmail.com
Tue Jun 3 14:08:51 CDT 2008


Note to developers --

Just like in Javascript, it's better to test for the objects you need.  
This could have been obviated by testing for admin.page rather than 
Shards, which was just a module namespace for injected modifications. 
(Sorry to pick on you, Andrea)

Sean

Anton Aylward wrote:
> Benny Degezelle said the following on 03/06/08 02:55 PM:
>   
>>> $ radiant -v
>>> Radiant 0.6.7
>>> $ rake production  db:backup:write
>>> (in /home/anton/Ruby/Radiant)
>>> rake aborted!
>>> The Shards extension is required and must be loaded first!
>>>       
>> Anton,
>>
>> Since 0.6.7, the shards extension is indeed no longer needed, but one of 
>> your other extensions is still looking for it. Some extensions check for 
>> the presence of the shards extension in their activate method, and raise 
>> the error you pasted when they cannot find it.
>>
>> Search for this line in your extensions, and comment it out;
>>
>> raise "The Shards extension is required and must be loaded first!" 
>> unless defined?(Shards)
>>     
>
> Thanks.
>
> It was in copy_move.
>
>   



More information about the Radiant mailing list