XmlSimple not working

Dear Friends,

I have installed xml-simple(1.0.12) in my system.

When i tried to run an sample using xml-simple, i getting error like
this.

require ‘rubygems’
require ‘xmlsimple’
con = XmlSimple.xml_in("")

testing.rb:3: undefined method `xml_in’ for XmlSimple:Class
(NoMethodError)

Could anyone plz suggest on the above issue?

Also in irb both rubygems and xmlsimple returns true.

D:>irb
irb(main):001:0> require ‘rubygems’
=> true
irb(main):002:0> require ‘xmlsimple’
=> true

Thanks in advance

Regards
Jose

I have fixed the issue as my environmental variable points to another
file named xmlsimple.rb. I changed the enviroment variable to fix it.
Its working fine now

Regards,
Jose