class Guard::Cli::Environments::Valid

def start_guard

def start_guard
  # TODO: just to make sure tests are ok
  Bundler.new.verify unless @options[:no_bundler_warning]
  Guard.start(@options)
rescue Dsl::Error,
       Guardfile::Evaluator::NoPluginsError,
       Guardfile::Evaluator::NoGuardfileError,
       Guardfile::Evaluator::NoCustomGuardfile => e
  # catch to throw message instead of call stack
  UI.error(e.message)
  abort
end