no such file to load -- yet file is config.gem in environtment.rb file in rails

Posted by Angela on Stack Overflow See other posts from Stack Overflow or by Angela
Published on 2010-06-16T02:27:31Z Indexed on 2010/06/16 2:32 UTC
Read the original article Hit count: 522

Filed under:
|
|

I keep getting this error for different gems, the most recent is acts_as_reportable:

no such file to load -- acts_as_reportable

However, I have the following line in my environment.rb:

config.gem 'acts_as_reportable'

And I also ran the following:

>gem install acts_as_reportable

It it output:

>gem install acts_as_reportable
Successfully installed acts_as_reportable-1.1.1
1 gem installed
Installing ri documentation for acts_as_reportable-1.1.1...
Installing RDoc documentation for acts_as_reportable-1.1.1...

What do I need to do?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about file