diff options
author | Andre Arko <andre@arko.net> | 2014-06-15 22:37:52 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-06-15 22:37:52 -0700 |
commit | 8452d4ea5e16449b5fdb85d43a7a3c4142afaaf2 (patch) | |
tree | 7a75b2318c599cb9306c1af471103df030d00bce | |
parent | f8c47b28f9fa0cafd32d7c62d1da48df123f7fd9 (diff) | |
download | bundler-8452d4ea5e16449b5fdb85d43a7a3c4142afaaf2.tar.gz |
load rubygems before rspec
-rw-r--r-- | spec/spec_helper.rb | 9 |
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/ |