$: << 'spec' 
require "rspec/core"
#The specs need yaml to be loaded before spec_helper
#https://github.com/rspec/rspec-mocks/issues/107
require "yaml"
exit(RSpec::Core::Runner.run(Dir["spec/rspec/**/*_spec.rb"], $stderr, $stdout))
