【问题标题】:rails 2.3.8 + actionwebservice + ruby 1.9.2 problemrails 2.3.8 + actionwebservice + ruby​​ 1.9.2 问题
【发布时间】:2011-07-28 09:21:40
【问题描述】:

您好,我正在尝试使用 rails 2.3.8 + actionwebservice 。使用 ruby​​ 1.8.7 没问题,但是当我切换到 1.9.2 时出现下一个错误 .rvm/gems/ruby-1.9.2-p180@rails2/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in `require':没有要加载的文件--soap/rpc/driver (缺少源文件)

宝石文件:

source 'http://rubygems.org'
gem "rails", "2.3.8"
gem "sqlite3-ruby", :require => "sqlite3"
gem "mysql2"
gem 'athlite-actionwebservice', :require => 'actionwebservice', :git => "git://github.com/athlite/actionwebservice.git"

宝石 -v 1.8.6

谢谢

【问题讨论】:

    标签: ruby-on-rails ruby


    【解决方案1】:

    ruby 1.8 中可用的 soap 驱动程序已在 ruby​​ 1.9 中删除

    您需要自己为 ruby​​ 1.9 构建肥皂,如以下答案所述:Using SOAP and other Standard Libraries in Ruby 1.9.2

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-31
      • 2011-06-09
      • 2011-09-18
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多