开发者

XMLRPC problem with a Rails app

I'm trying to access an XMLRPC API (for the Magento PHP app) from my Rails application. I'm using a gem however whenever I try to connect on my local machine (Snow Leopard) I get this error:

no such file to load --开发者_如何学编程 xmlrpc

This is triggered by a line require 'xmlrpc'

Is there a specific Ruby XMLRPC gem I need to install?

Sorry for the stupid question...


There is no xmlrpc.rb file, you should write

require 'xmlrpc/client'
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜