require 'rubygems' begin require 'bundler' rescue LoadError => e STDERR.puts e.message STDERR.puts "Run `gem install bundler` to install Bundler." exit e.status_code end begin Bundler.setup(:default, :development, :test) rescue Bundler::BundlerError => e STDERR.puts e.message STDERR.puts "Run `bundle install` to install missing gems." exit e.status_code end RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = :should end config.mock_with :rspec do |c| c.syntax = :should end end