Problem using xmlrpc/client in ruby

I am currently using a python script to make a xmlrpc call to remote API
using xmlrpclib. I want to make the similar call using ruby. But I am
unable to do it. I am facing errors. My python and ruby both scripts can
be found here:

Please help me find the solution.

Not only this, I also could not run the basic xmlrpc examples given in
ruby documentations. I have the following 2 unsolved issues as well.
Please help me.

If anyone of you are using xmlrpc successfully with ruby, please share
it with me.

Thanks in advance

Best Regards,

Mohammed Yasin Rahman
Software Engineer
Paris, France

Email: [email protected]