actionwebservice和rails 3 /

时间:2011-03-01 14:45:23

标签: ruby-on-rails-3 activerecord gem actionwebservice

我正在尝试使用以下方法安装actionwebservice的rails 3项目:

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)

有什么建议吗?

2 个答案:

答案 0 :(得分:2)

我遇到了同样的问题。 试试这个宝石:https://github.com/dnordberg/actionwebservice

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

答案 1 :(得分:1)

尝试使用

gem install actionwebservice --include-dependencies