begin require 'bundler' rescue LoadError => e warn e.message warn "Run `gem install bundler` to install Bundler." exit e.status_code end begin Bundler.setup(:default) rescue Bundler::BundlerError => e warn e.message warn "Run `bundle install` to install missing gems" exit e.status_code end require 'rspec' require 'multi_markdown'