spec/spec_helper.rb in sinatra_resource-0.4.23 vs spec/spec_helper.rb in sinatra_resource-0.4.24

- old
+ new

@@ -1,7 +1,11 @@ -$LOAD_PATH.unshift(File.dirname(__FILE__)) -$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'rubygems' +begin + require 'bundler' + Bundler.setup +rescue LoadError + puts "Please run `gem install bundler` and `bundle install`" +end require 'spec' require 'spec/autorun' Spec::Runner.configure do |config|