Ruby on rails 3 Rails 3和ActionWebService,ArgumentError(ActionWebService不缺少常量基!):

Ruby on rails 3 Rails 3和ActionWebService,ArgumentError(ActionWebService不缺少常量基!):,ruby-on-rails-3,actionwebservice,Ruby On Rails 3,Actionwebservice,我使用的是Ruby192-p209,Rails 3.0.3。这是我的Gemfile: gem 'rails', '3.0.3' gem 'mysql2', '< 0.3' gem 'tomdz-soap4r' gem 'reidiculous-actionwebservice', :require => 'actionwebservice' ArgumentError (ActionWebService is not missing constant Base!):

我使用的是Ruby192-p209,Rails 3.0.3。这是我的
Gemfile

gem 'rails', '3.0.3'  
gem 'mysql2', '< 0.3'  
gem 'tomdz-soap4r'  
gem 'reidiculous-actionwebservice', :require => 'actionwebservice'
ArgumentError (ActionWebService is not missing constant Base!):

app/controllers/application_controller.rb:1:in <top (required)>'
app/controllers/hello_message_controller.rb:3:in'

我模模糊糊地记得,当一个模块多次得到
required
时,也出现过类似的问题。尝试删除
,:require=>“actionwebservice”
。如果您得到一些未找到的内容,请尝试在
application\u controller.rb
文件中添加
require'actionwebservice'
。这些只是猜测,看看它们是否适用于您。I
m删除:require=>“actionwebservice”和正在工作的页面,但actionwebservice发送
error:ActionController::RoutingError(未初始化的常量actionwebservice):app/api/hello_message_api.rb:5:in
'app/controllers/hello_message_controller.rb:5:in
'app/controllers/hello_message_controller.rb:3:in
'
I
m add
应用程序_controller.rb
和我
m现在在subc中有旧问题((
ActionWebService不缺少常量基数`