From: dare ruby on 20 May 2010 01:39 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("<opt username='bob'/>") 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 -- Posted via http://www.ruby-forum.com/.
From: dare ruby on 20 May 2010 02:21 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 -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: Want to know whether Ruby supports ASN1 Decoders Next: Scrape javascript content |