# XmlSimple not working

**URL:** <https://www.ruby-forum.com/t/xmlsimple-not-working/188901>\
**Category:** Ruby\
**Created:** [May 20, 2010, 7:39am UTC](https://www.ruby-forum.com/t/xmlsimple-not-working/188901 "2010-05-20T07:39:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin\_mercy2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/d2c977/32.png) [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Post date:** [May 20, 2010, 7:39am UTC](https://www.ruby-forum.com/t/xmlsimple-not-working/188901/1 "2010-05-20T07:39:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![martin\_mercy2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/d2c977/32.png) [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Post date:** [May 20, 2010, 8:21am UTC](https://www.ruby-forum.com/t/xmlsimple-not-working/188901/2 "2010-05-20T08:21:23Z")

</div>

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
