How to find gems based on methods

Ex : i used ask() method in my ruby code,it throws error like

undefined method `ask' for main:Object


please let me know

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