spec/spec_helper.rb in pullr-0.1.2 vs spec/spec_helper.rb in pullr-0.1.3
- old
+ new
@@ -1,7 +1,15 @@
require 'rubygems'
-gem 'rspec', '>=1.3.0'
-require 'spec'
+require 'bundler'
+begin
+ Bundler.setup(:runtime, :test)
+rescue Bundler::BundlerError => e
+ STDERR.puts e.message
+ STDERR.puts "Run `bundle install` to install missing gems"
+ exit e.status_code
+end
+
+require 'spec'
require 'pullr/version'
include Pullr