ruby - Requiring gem for acts_as_taggable in rails -


i'm trying tags working in rails application , want use acts_as_taggable. firstly followed instructions found in rails recipies (a free sample bit online) used acts_as_taggable plugin. however, found this site seems have gem acts_as_taggable more advanced (has options related tags etc).

i've tried follow instructions there install it, keep getting errors.

firstly installed gem normal (gem install acts_as_taggable) , tried various ways rails recognise , load gem. require_gem listed on site didn't work (i assume old command has been removed) , neither did straight require (although has worked bluecloth gem).

i've tried using config.gem 'acts_as_taggable' keeps telling me haven't got acts_as_taggable installed , asks me run rake gems:install. no matter how many times run still gives error!

the result of gem query -l -n acts_as_taggable lists acts_as_taggable installed local gem.

i've tried running gem check , doesn't show problems.

the response when try require console is:

missingsourcefile: no such file load -- acts_as_taggable         c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge m_original_require'         c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re quire'         c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_suppo rt/dependencies.rb:510:in `require'         c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_suppo rt/dependencies.rb:355:in `new_constants_in'         c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_suppo rt/dependencies.rb:510:in `require'         (irb):1 

it looks reason can't find it. ideas why?

you try acts_as_taggable_on_steroids:

this plugin based on acts_as_taggable dhh includes extras such tests, smarter tag assignment, , tag cloud calculations.

i've used recently. aside performance issues, works and, unlike taggable, under active maintenance.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -