问题
I'm on a rails 3 project trying to install actionwebservice using:
gem 'rails', '3.0.4'
gem 'actionwebservice', :git => 'https://github.com/ywen/actionwebservice.git'
And I get the error:
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
actionwebservice depends on
activerecord (= 2.3.5)
rails (= 3.0.4) depends on
activerecord (3.0.4)
Any suggestions?
回答1:
I had the same problem. Try this gem: https://github.com/dnordberg/actionwebservice
gem 'actionwebservice', :git => "git://github.com/dnordberg/actionwebservice.git"
回答2:
Try using
gem install actionwebservice --include-dependencies
来源:https://stackoverflow.com/questions/5156018/actionwebservice-and-rails-3