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/.