I am trying to install acts_as_commentable_with_threading. I have added “gem ‘acts_as_commentable_with_threading'” to my Gemfile.
When I run “bundle install” from the command line I get the following.
Fetching source index for http://rubygems.org/
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
acts_as_commentable_with_threading depends on
activerecord (~> 3.0.0)
rails (= 3.1.0) depends on
activerecord (3.1.0)
So acts_as_commentable_with_threading won’t work with activerecord 3.1.0? I am not sure how to workaround this?
Thanks
Currently, you can’t work around it, because
acts_as_commentable_with_threadingis dependent using~> 3.0.0which means>= 3.0.0but< 3.1(ref: http://gembundler.com/rationale.html – section “Updating a Dependency”)The only options are to: