# \[mental\] List of dependencies for extensions?

**URL:** <https://www.ruby-forum.com/t/mental-list-of-dependencies-for-extensions/84499>\
**Category:** Radiant CMS\
**Created:** [February 5, 2007, 11:47am UTC](https://www.ruby-forum.com/t/mental-list-of-dependencies-for-extensions/84499 "2007-02-05T11:47:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![keltia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/da6949/32.png) [@keltia](https://www.ruby-forum.com/u/keltia)\
**Post date:** [February 5, 2007, 11:47am UTC](https://www.ruby-forum.com/t/mental-list-of-dependencies-for-extensions/84499/1 "2007-02-05T11:47:16Z")

</div>

I’m trying to install mental (that works fine) but want to use the  
part\_assets extensions. I’ve already found that act\_as\_attachements  
wants RMagick to run but apparently it needs more ☹

Complete traceback to follow. Any idea from anyone?

354 [11:09] roberto@sidhe:www/radiant-mental\> RAILS\_ENV=“production”  
rake db:migrate  
/opt/local/bin/rake:17:Warning: require\_gem is obsolete. Use gem  
instead.  
(in /Volumes/Users/www/radiant-mental)  
rake aborted!  
uninitialized constant ActsAsAttachmentExtension

(See full trace by running task with --trace)  
354 [11:17] roberto@sidhe:www/radiant-mental\> RAILS\_ENV=“production”  
rake --trace db:migrate  
/opt/local/bin/rake:17:Warning: require\_gem is obsolete. Use gem  
instead.  
(in /Volumes/Users/www/radiant-mental)  
\*\* Invoke db:migrate (first\_time)  
\*\* Invoke environment (first\_time)  
\*\* Execute environment  
rake aborted!  
uninitialized constant ActsAsAttachmentExtension  
/Volumes/Users/www/radiant-mental/config/…/vendor/rails/activerecord/lib/…/…/activesupport/lib/active\_support/dependencies.rb:267:in  
`load_missing_constant' /Volumes/Users/www/radiant-mental/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in`const\_missing’  
/Volumes/Users/www/radiant-mental/config/…/vendor/rails/activerecord/lib/…/…/activesupport/lib/active\_support/dependencies.rb:465:in  
`const_missing' /Volumes/Users/www/radiant-mental/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/inflector.rb:251:in`constantize’  
/Volumes/Users/www/radiant-mental/config/…/vendor/rails/activerecord/lib/…/…/activesupport/lib/active\_support/core\_ext/string/inflections.rb:148:in  
`constantize' /Volumes/Users/www/radiant-mental/config/../lib/radiant/extension_loader.rb:70:in`activate\_extensions’  
/Volumes/Users/www/radiant-mental/config/…/lib/radiant/extension\_loader.rb:68:in  
`select' /Volumes/Users/www/radiant-mental/config/../lib/radiant/extension_loader.rb:68:in`activate\_extensions’  
/Volumes/Users/www/radiant-mental/config/…/lib/radiant/extension\_loader.rb:42:in  
`run' /Volumes/Users/www/radiant-mental/config/../lib/radiant/initializer.rb:43:in`initialize\_extensions’  
/Volumes/Users/www/radiant-mental/config/…/lib/radiant/initializer.rb:36:in  
`after_initialize' /Volumes/Users/www/radiant-mental/config/../vendor/rails/railties/lib/initializer.rb:114:in`process’  
/Volumes/Users/www/radiant-mental/config/…/vendor/rails/railties/lib/initializer.rb:43:in  
`send' /Volumes/Users/www/radiant-mental/config/../vendor/rails/railties/lib/initializer.rb:43:in`run’  
/Volumes/Users/www/radiant-mental/config/…/lib/radiant/initializer.rb:32:in  
`run' /Volumes/Users/www/radiant-mental/config/../config/environment.rb:10 /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in`gem\_original\_require’  
/opt/local/lib/ruby/vendor\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require' /Volumes/Users/www/radiant-mental/config/../vendor/rails/railties/lib/tasks/misc.rake:3 /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in`call’  
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in  
`execute' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in`each’  
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in  
`execute' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in`invoke’  
/opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in`invoke’  
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in  
`invoke_prerequisites' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in`each’  
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `send' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in`each’  
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in  
`invoke_prerequisites' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in`invoke’  
/opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in`invoke’  
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in`each’  
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /opt/local/bin/rake:18:in`load’  
/opt/local/bin/rake:18

---

<div class="post-metadata">

**Author:** ![keltia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/da6949/32.png) [@keltia](https://www.ruby-forum.com/u/keltia)\
**Post date:** [February 5, 2007, 11:48pm UTC](https://www.ruby-forum.com/t/mental-list-of-dependencies-for-extensions/84499/2 "2007-02-05T23:48:32Z")

</div>

> I’m trying to install mental (that works fine) but want to use the  
> part\_assets extensions. I’ve already found that act\_as\_attachements  
> wants RMagick to run but apparently it needs more ☹
> 
> Complete traceback to follow. Any idea from anyone?

Your problem is that you’ve downloaded acts\_as\_attachment as an  
extension - it’s not an extension, it’s a plugin (should be under  
vendor/plugins, not vendor/extensions).

Also, have you install part\_assets (from [soxbox.no-ip.org](http://soxbox.no-ip.org)) or  
page\_attachments (from [seancribbs.com](http://seancribbs.com))?

If it’s part\_assets, it doesn’t have any dependency on  
acts\_as\_attachment. The big gotcha at the moment is that I renamed it to  
part\_attachments but haven’t rejigged my repository to reflect that, so  
you’ll have to rename the directory manually. It wants fleximage and  
rmagick installed, but should be able to work without them (though it  
will fall over if you install fleximage without rmagick).

In fact, I’ll just fix my repository now - I’ll make another blog post  
with installation instructions and get back to you.

Dan.

---

<div class="post-metadata">

**Author:** ![keltia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/da6949/32.png) [@keltia](https://www.ruby-forum.com/u/keltia)\
**Post date:** [February 6, 2007, 12:10am UTC](https://www.ruby-forum.com/t/mental-list-of-dependencies-for-extensions/84499/3 "2007-02-06T00:10:33Z")

</div>

> In fact, I’ll just fix my repository now - I’ll make another blog post  
> with installation instructions and get back to you.

Instructions for installing part\_attachments:

[http://soxbox.no-ip.org/radiant/articles/2007/02/06/installing-the-part\_](http://soxbox.no-ip.org/radiant/articles/2007/02/06/installing-the-part_)  
attachments-extension/

Dan.
