# File lib/guard/notifiers/terminal_notifier.rb, line 30 def available?(silent=false) require 'terminal-notifier-guard' if ::TerminalNotifier::Guard.available? true else ::Guard::UI.error 'The :terminal_notifier only runs on Mac OS X 10.8 and later.' unless silent false end rescue LoadError, NameError ::Guard::UI.error "Please add \"gem 'terminal-notifier-guard'\" to your Gemfile and run Guard with \"bundle exec\"." unless silent false end