# File lib/guard/rspec/runner.rb, line 6 def run(paths, options={}) return false if paths.empty? message = options[:message] || "Running: #{paths.join(' ')}" UI.info(message, :reset => true) system(rspec_command(paths, options)) if options[:notification] != false && !drb?(options) && failure_exit_code_supported?(options) && $? && !$?.success? && $?.exitstatus != failure_exit_code Notifier.notify("Failed", :title => "RSpec results", :image => :failed, :priority => 2) end $?.success? end