actionwebservice and rails 3 /

非 Y 不嫁゛ 提交于 2019-12-23 19:55:37

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!