-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Guardfile - how should I debug? #1
Comments
The same for me. Trying to investigate (but sadly I don't know Ruby well). |
Can you guys provide a backtrace? Cheers. |
Hi Vincent, There's no backtrace, here's my complete terminal output:
But then it occurred to me that since the Guardfile is just Ruby, I could wrap the blocks in a before/rescue and then get a backtrace that way, so I altered the Guardfile like this:
And then this is the terminal output I get:
Does that help? Thanks! |
jonallurd -- Your options need to include a key called
|
I'm new to Guard and I'm having a hard time getting this gem working. I was able to get other guards working, but not this one. When I try to use it, I get this error:
ERROR: Invalid Guardfile, original error is:
undefined method `keys' for nil:NilClass
Here's what's in my Guardfile:
opts = {
:hostname => "somehost",
:user => "someuser",
:remote => "somepath",
:debug => true,
:growl => true
}
group 'flopbox' do
guard 'flopbox', opts do
watch(/.*/)
end
end
Basically the default from the README. I just don't know how to debug this error message, seems like it could be anything...
Thanks!
Jon
The text was updated successfully, but these errors were encountered: