I've just started playing around with Ruby and Jekyll and I've been using the -watch
command from CLI to automatically update the Jekyll site. However after a brief computer restart I'm seeing the following error when running jekyll -watch
/Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.3/lib/mercenary/program.rb:30:in `go': invalid option: -watch (OptionParser::InvalidOption)
from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.3/lib/mercenary.rb:22:in `program'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.0.3/bin/jekyll:18:in `<top (required)>'
from /usr/bin/jekyll:23:in `load'
from /usr/bin/jekyll:23:in `<main>'
Since I'm new to Ruby, I have no idea why the above error is occurring. Can someone please help me explain why I'm getting the above error and sort it out?
Thanks