[mental] List of dependencies for extensions?

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 :frowning:

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:inconst_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:inconstantize’
/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:inactivate_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:inactivate_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:ininitialize_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:inprocess’
/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:inrun’
/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:ingem_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:incall’
/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:ineach’
/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:ininvoke’
/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:ininvoke’
/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:ineach’
/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:ineach’
/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:ininvoke’
/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:ininvoke’
/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:ineach’
/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:inload’
/opt/local/bin/rake:18

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 :frowning:

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) or
page_attachments (from 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.

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_
attachments-extension/

Dan.