title: Requiring gem for acts_as_taggable in rails
body: <p>I'm trying to get tags working in my rails application and want to use acts_as_taggable. Firstly I followed the instructions I found in Rails Recipies (a free sample bit online) that used the acts_as_taggable plugin. However, I then found <a href="http://taggable.rubyforge.org/" rel="nofollow noreferrer">this site</a> which seems to have a gem for acts_as_taggable which is more advanced (has options for related tags etc).</p>
  
  <p>I've tried to follow the instructions there to install it, but I keep getting errors.</p>
  
  <p>Firstly I installed the gem as normal (<code>gem install acts_as_taggable</code>) and then I tried various ways to get rails to recognise and load the gem. The <code>require_gem</code> listed on the site didn't work (I assume that is an old command that has been removed) and neither did a straight <code>require</code> (although that has worked for my bluecloth gem).</p>
  
  <p>I've then tried using <code>config.gem 'acts_as_taggable'</code> but that keeps telling me that I haven't got acts_as_taggable installed and asks me to run <code>rake gems:install</code>. No matter how many times I run that it still gives the error!</p>
  
  <p>The result of the <code>gem query -l -n acts_as_taggable</code> lists acts_as_taggable as an installed local gem.</p>
  
  <p>I've tried running <code>gem check</code> and that doesn't show any problems.</p>
  
  <p>The response I get when I try to require it from the console is:</p>
  
  <pre><code>MissingSourceFile: no such file to load -- acts_as_taggable
          from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge
  m_original_require'
          from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
  quire'
          from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_suppo
  rt/dependencies.rb:510:in `require'
          from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_suppo
  rt/dependencies.rb:355:in `new_constants_in'
          from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_suppo
  rt/dependencies.rb:510:in `require'
          from (irb):1
  </code></pre>
  
  <p>It looks like for some reason it can't find it. Any ideas why?</p>