我在Rails 3项目中尝试使用以下命令安装actionwebservice:

gem 'rails', '3.0.4'
gem 'actionwebservice', :git => 'https://github.com/ywen/actionwebservice.git'


我得到错误:

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)


有什么建议?

最佳答案

我有同样的问题。
尝试以下宝石:https://github.com/dnordberg/actionwebservice

gem 'actionwebservice', :git => "git://github.com/dnordberg/actionwebservice.git"

关于ruby-on-rails-3 - actionwebservice和rails 3/,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/5156018/

10-10 04:40