From 8452d4ea5e16449b5fdb85d43a7a3c4142afaaf2 Mon Sep 17 00:00:00 2001 From: Andre Arko Date: Sun, 15 Jun 2014 22:37:52 -0700 Subject: load rubygems before rspec --- spec/spec_helper.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c95c52d1a3..54e79bdcf8 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,12 +1,13 @@ $:.unshift File.expand_path('..', __FILE__) $:.unshift File.expand_path('../../lib', __FILE__) -require 'rspec' -require 'bundler/psyched_yaml' +# stdlib first +require 'uri' +require 'digest/sha1' require 'fileutils' +require 'bundler/psyched_yaml' require 'rubygems' +require 'rspec' require 'bundler' -require 'uri' -require 'digest/sha1' # Require the correct version of popen for the current platform if RbConfig::CONFIG['host_os'] =~ /mingw|mswin/ -- cgit v1.2.1