# Radiant (master with rails 2.1) and Tag extension

**URL:** <https://www.ruby-forum.com/t/radiant-master-with-rails-2-1-and-tag-extension/154217>\
**Category:** Radiant CMS\
**Created:** [November 26, 2008, 2:06pm UTC](https://www.ruby-forum.com/t/radiant-master-with-rails-2-1-and-tag-extension/154217 "2008-11-26T14:06:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vpredoehl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/67e7ee/32.png) [@vpredoehl](https://www.ruby-forum.com/u/vpredoehl)\
**Post date:** [November 26, 2008, 2:06pm UTC](https://www.ruby-forum.com/t/radiant-master-with-rails-2-1-and-tag-extension/154217/1 "2008-11-26T14:06:25Z")

</div>

Hello,

I tried to install the Tags extension  
([http://github.com/jomz/radiant-tags-extension/tree/master/README](http://github.com/jomz/radiant-tags-extension/tree/master/README)) 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](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

---

<div class="post-metadata">

**Author:** ![vpredoehl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/67e7ee/32.png) [@vpredoehl](https://www.ruby-forum.com/u/vpredoehl)\
**Post date:** [November 26, 2008, 2:26pm UTC](https://www.ruby-forum.com/t/radiant-master-with-rails-2-1-and-tag-extension/154217/2 "2008-11-26T14:26:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vpredoehl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/67e7ee/32.png) [@vpredoehl](https://www.ruby-forum.com/u/vpredoehl)\
**Post date:** [November 26, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/radiant-master-with-rails-2-1-and-tag-extension/154217/3 "2008-11-26T16:19:19Z")

</div>

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
