Ruby/Rake Warnings and errors

Hi All,

I am new to ruby,so please let me know how to learn quickly in a better
way ?

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

Hi,

I don’t get what you want. You’re talking about four different things at
the same time that are completely unrelated: rake, learning Ruby,
accessing gems in Ruby code(?) and a specific error message.

Please think about what you actually want to know. If you have
different problems, attack them one after another in different threads.

Sorry for the trouble,

I am learning Rake,

while running my rake file,got the following error

undefined method `ask’ for main:Object

My doubt is how to find gem corresponds to this/any method in general ?

Jan E. wrote in post #1079564:

Hi,

I don’t get what you want. You’re talking about four different things at
the same time that are completely unrelated: rake, learning Ruby,
accessing gems in Ruby code(?) and a specific error message.

Please think about what you actually want to know. If you have
different problems, attack them one after another in different threads.