{"action":"opened","issue":{"url":"https://api.github.com/repos/guard/guard/issues/771","labels_url":"https://api.github.com/repos/guard/guard/issues/771/labels{/name}","comments_url":"https://api.github.com/repos/guard/guard/issues/771/comments","events_url":"https://api.github.com/repos/guard/guard/issues/771/events","html_url":"https://github.com/guard/guard/issues/771","id":91014721,"number":771,"title":"Guard should fail with non-zero exit code when plugin not available","user":{"login":"e2","id":150197,"avatar_url":"https://avatars.githubusercontent.com/u/150197?v=3","gravatar_id":"","url":"https://api.github.com/users/e2","html_url":"https://github.com/e2","followers_url":"https://api.github.com/users/e2/followers","following_url":"https://api.github.com/users/e2/following{/other_user}","gists_url":"https://api.github.com/users/e2/gists{/gist_id}","starred_url":"https://api.github.com/users/e2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e2/subscriptions","organizations_url":"https://api.github.com/users/e2/orgs","repos_url":"https://api.github.com/users/e2/repos","events_url":"https://api.github.com/users/e2/events{/privacy}","received_events_url":"https://api.github.com/users/e2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/guard/guard/labels/bug","name":"bug","color":"ff0000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-25T16:38:12Z","updated_at":"2015-06-25T16:38:12Z","closed_at":null,"body":"E.g. when guard-rspec is not installed, the following should fail with a non-zero exit code:\r\n\r\n```\r\n➜  bundle exec guard init rspec\r\n18:34:51 - INFO - Writing new Guardfile to /home/me/foo/Guardfile\r\n18:34:51 - ERROR - Could not load 'guard/rspec' or '~/.guard/templates/rspec' or find class Guard::Rspec\r\n18:34:51 - ERROR - Error is: No such file or directory @ rb_sysopen - /home/czarek/.guard/templates/rspec\r\n➜  echo $?\r\n0\r\n```\r\n\r\nExpected: should not be 0"}}