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'
精彩评论