Problem is solved. My IDE causing this problem.

Regards

-- 
Posted via http://www.ruby-forum.com/.