[Radiant] Re: Extensions trouble in 0.6.7

Jan T list.reader.os at gmail.com
Mon Jun 2 17:17:07 CDT 2008


HI,
could be a similar problem to the one that i had with the reorder
extension, because during my several try-outs i got same error
messages.
Probably the extension needs to have a reference to the app now, since
shards is in there now.
Something like:

require_dependency 'application'

But i have to say, i'm no ruby expert and i don't know the guts of radiant.
best,
Jan


On Mon, Jun 2, 2008 at 11:55 PM, Sean Cribbs <seancribbs at gmail.com> wrote:
> Shane,
>
> Try removing all extensions from loading while doing this.  Edit the
> appropriate line of config/environment.rb to read:
>
> config.extensions = []
>
> Also, comment out the line in config/environments/development.rb that starts
> 'config.breakpoint_server'
>
> # config.breakpoint_server = ....
>
> That will get rid of the warning.  Then when those tasks have been run,
> restore your config.extensions line.
>
> Sean
>
> Shane Thacker wrote:
>>
>> Sean Cribbs wrote:
>>
>>>
>>> Shane,
>>>
>>> Try two things and then get back to us:
>>>
>>> 1) Run rake radiant:update to copy the new config files from the
>>> gem/vendor.
>>> 2) Remove :shards from config.extensions in config/environment.rb if it
>>> exists.
>>>
>>> Sean
>>>
>>
>>
>> I'm assuming it's okay to leave shards in the extensions folder while
>> following your directions. Getting this:
>>
>>      *******************************************************************
>>      * config.breakpoint_server has been deprecated and has no effect. *
>>      *******************************************************************
>>
>> Could not load extension from file: shards_extension.
>> #<NameError: uninitialized constant ShardsExtension>
>> rake aborted!
>> uninitialized constant ApplicationController
>>
>> shane
>>
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>


More information about the Radiant mailing list