Forum: Radiant CMS Radiant (master with rails 2.1) and Tag extension

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.
28869a509b11eb77375d066fce22fcc8?d=identicon&s=25 Vincent Pérès (vincentp)
on 2008-11-26 14:06
Hello,

I tried to install the Tags extension
(http://github.com/jomz/radiant-tags-extension/tree...) with
the Radiant master but I got the following problem :

[13:01][vincentp@vincent-peress-macbook:~/NetBeansProjects/myproject(master)]$
rake radiant:extensions:tags:install
(in /Users/vincentp/NetBeansProjects/myproject)
rake aborted!
Dependencies is not a module

(See full trace by running task with --trace)

More infos :

[13:01][vincentp@vincent-peress-macbook:~/NetBeansProjects/myproject(master)]$
script/server
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails 2.1.1 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
/Users/vincentp/NetBeansProjects/myproject/vendor/extensions/tags/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/dependencies.rb:8:
Dependencies is not a module (TypeError)
  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  from
/Users/vincentp/NetBeansProjects/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require'
  from
/Users/vincentp/NetBeansProjects/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
`new_constants_in'
  from
/Users/vincentp/NetBeansProjects/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require'
  from
/Users/vincentp/NetBeansProjects/myproject/vendor/extensions/tags/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs.rb:24
  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
   ... 43 levels...
  from
/Users/vincentp/NetBeansProjects/myproject/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
`require'
  from
/Users/vincentp/NetBeansProjects/myproject/vendor/rails/railties/lib/commands/server.rb:39
  from script/server:3:in `require'
  from script/server:3

Could it come from rails 2.1?

Thanks,
Vincent
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (seancribbs)
on 2008-11-26 14:26
(Received via mailing list)
Vincent,

My apologies -- master is very unstable now because of some major
refactoring going on.  I hope to complete some of it this weekend.
You're best off using 0.6.9 or a head just before the merge with the
Rails 2.1 branch.  Andrew vonderLuft recently ran into this problem and
mentioned which commit he chose on the mailing list.

Sean
09477c358c5897d44121a248326e16d7?d=identicon&s=25 Jim Gay (Guest)
on 2008-11-26 16:19
(Received via mailing list)
Acutally,
This is a problem with has_many_polymorphs on newer rails versions.
I've received a pull request to fix it but haven't had time to test it
out. I'll try to do that today.

-Jim
This topic is locked and can not be replied to.