Forum: Radiant CMS [mental] List of dependencies for extensions?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
58a62321e4961bb65cc202bfd9cc963a?d=identicon&s=25 Ollivier Robert (keltia)
on 2007-02-05 11:47
(Received via mailing list)
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
1c1e3bdfe006a22214102fcd6434a012?d=identicon&s=25 Daniel Sheppard (Guest)
on 2007-02-05 23:48
(Received via mailing list)
> 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) 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.
1c1e3bdfe006a22214102fcd6434a012?d=identicon&s=25 Daniel Sheppard (Guest)
on 2007-02-06 00:10
(Received via mailing list)
> 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/0...
attachments-extension/

Dan.
This topic is locked and can not be replied to.