简体   繁体   English

Rails 2.3.8 + actionwebservice + ruby​​ 1.9.2问题

[英]rails 2.3.8 + actionwebservice + ruby 1.9.2 problem

hello I'm trying to use rails 2.3.8 + actionwebservice . 你好,我正在尝试使用Rails 2.3.8 + actionwebservice。 With ruby 1.8.7 it's ok, but when I switch to 1.9.2 I have next error .rvm/gems/ruby-1.9.2-p180@rails2/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in `require': no such file to load -- soap/rpc/driver (MissingSourceFile) 使用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(MissingSourceFile)

gemfile : gemfile:

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"

gem -v 1.8.6 宝石-v 1.8.6

Thanks 谢谢

The soap driver that was available in ruby 1.8 has been removed in ruby 1.9 红宝石1.8中提供的肥皂驱动程序已从红宝石1.9中删除

You'll need to build soap for ruby 1.9 yourself as outlined in this answer: Using SOAP and other Standard Libraries in Ruby 1.9.2 您需要按照以下答案中的说明自己构建ruby 1.9的肥皂: 在Ruby 1.9.2中使用SOAP和其他标准库

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM