$:.unshift 'spec'
$:.unshift 'lib'
require "rspec/core"
EXC_TESTS = [
  # require 'syntax' gem
  'spec/rspec/core/formatters/text_mate_formatter_spec.rb',
  'spec/rspec/core/formatters/html_formatter_spec.rb'
]
exit(RSpec::Core::Runner.run(Dir["spec/rspec/**/*_spec.rb"] - EXC_TESTS, $stderr, $stdout))
