[Radiant] AttachmentFu::Backends error when installing page_attachments extension

Sean Cribbs seancribbs at gmail.com
Fri May 16 07:41:09 CDT 2008


Oli,

When I gave my presentation to BarCamp, that happened to me (Murphy's 
Law of Live Coding).  I ended up installing the plugin manually in 
vendor/extensions/page_attachments/vendor/plugins, then it worked fine.  
It may have to do with the mode of checkout, or that we've been 
gradually moving things to git.

Sean

Oli wrote:
> Hi All,
>
> Does anyone have troubleshooting advice for attachment_fu backend
> being uninitialized? I've installed the mini_magick 1.2.3 gem and
> checked out trunk attachment_fu into vendor/plugins as per the wiki
> article (well, I installed page_attachments first, then
> attachment_fu/mini_magick after getting the 'no technoweenie' error
> :-). However:
>
>     $ rake db:migrate:extensions
>
> keeps failing with:
>
>     $ uninitialized constant Technoweenie::AttachmentFu::Backends
>     $ vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:77:in
> `has_attachment'
>
> that line reads:
>
>     storage_mod =
> Technoweenie::AttachmentFu::Backends.const_get("#{options[:storage].to_s.classify}Backend")
>
> /usr/local/lib/ruby/gems/1.8/gems is in my path, and is set as
> gem_root. Radiant is installed by gem and should be 0.6.6 (although in
> the --trace the paths all seem to be 0.6.4)
>
> Any advice would be much appreciated. TIA
>
> peace - oli
> _______________________________________________
> 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