# AttachmentFu::Backends error when installing page\_attachments extension

**URL:** <https://www.ruby-forum.com/t/attachmentfu-backends-error-when-installing-page-attachments-extension/137795>\
**Category:** Radiant CMS\
**Created:** [May 16, 2008, 1:26pm UTC](https://www.ruby-forum.com/t/attachmentfu-backends-error-when-installing-page-attachments-extension/137795 "2008-05-16T13:26:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oli](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/2bfe46/32.png) [@oli](https://www.ruby-forum.com/u/oli)\
**Post date:** [May 16, 2008, 1:26pm UTC](https://www.ruby-forum.com/t/attachmentfu-backends-error-when-installing-page-attachments-extension/137795/1 "2008-05-16T13:26:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![oli](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/2bfe46/32.png) [@oli](https://www.ruby-forum.com/u/oli)\
**Post date:** [May 16, 2008, 2:41pm UTC](https://www.ruby-forum.com/t/attachmentfu-backends-error-when-installing-page-attachments-extension/137795/2 "2008-05-16T14:41:55Z")

</div>

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
