Hi, I'm trying to use your gem but I'm having some trouble with it.
I've installed the gem guard-motion. Now when I run guard init motion I get the following:
guard init motion
11:46:00 - ERROR - Could not load 'guard/motion' or '~/.guard/templates/motion' or find class Guard::Motion
11:46:00 - ERROR - Error is: No such file or directory @ rb_sysopen - /Users/nandersen/.guard/templates/motion
This is my guardfile:
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
## Uncomment and set this to only include directories you want to watch
directories %w(app lib spec) \
.select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
## Note: if you are using the `directories` clause above and you are not
## watching the project directory ('.'), then you will want to move
## the Guardfile to a watched dir and symlink it back, e.g.
#
# $ mkdir config
# $ mv Guardfile config/
# $ ln -s config/Guardfile .
#
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
It makes no difference if I comment the following lines or not:
directories %w(app lib spec) \
.select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
Hi, I'm trying to use your gem but I'm having some trouble with it. I've installed the gem
guard-motion
. Now when I runguard init motion
I get the following:This is my guardfile:
It makes no difference if I comment the following lines or not:
What am I doing wrong? Thanks!