summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/spec_helper.rb9
1 files 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/