Error when attempting to load in a Rails app
jgadbois opened this issue · comments
I'm getting the following error when installing your gem via bundler:
/Users/john/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/goodreads-0.1.0/lib/goodreads.rb:1:in
require': cannot load such file -- rest-client (LoadError)`
You're using an old version of library - 0.1.0, try the latest 0.2.1
Thanks - looks like bundler didn't install that version because I'm using Rails 4. Any way you could update your gem dependencies to be compatible with rails 4?
I havent looked into this yet. What needs to be updated ?
I believe the only one is s.add_runtime_dependency 'activesupport', '~> 3'
I'm on 4.0.0beta
. s.add_runtime_dependency 'activesupport', '>= 3'
would work, but i haven't tried the specs with 4.0.0
Ok, i can give it a try. I dont thing its going to be a problem to make it work with 4.0 stuff.