This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Ruby and the fly likes help to edit to run this program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "help to edit to run this program" Watch "help to edit to run this program" New topic
Author

help to edit to run this program

gaurav gupta sitm
Ranch Hand

Joined: Jun 19, 2011
Posts: 47

in this script one parameter shows error client
Please help to edit this program to run without problem
Error ->
`<main>': undefined local variable or method `client' for main:Object (NameError)
what should we have to place instead of client to run without error



Please help....
Thanks
Katrina Owen
Sheriff

Joined: Nov 03, 2006
Posts: 1367
    
  18
It looks like you need client to be an instance of a class. Something like




It's hard to say without more context.
 
rocket mass heater kickstarter
 
subject: help to edit to run this program