summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2011-09-22 20:45:52 -0700
committerAndre Arko <andre@arko.net>2011-09-22 20:45:52 -0700
commit29f74a0d58b6351831db0c4bdc89c7bdcbcaad71 (patch)
treeaad5f94ac477276c7b4707136a722deec399c700
parent4c25708ab7e487b2bd689d671ad12f3c039a272a (diff)
downloadbundler-29f74a0d58b6351831db0c4bdc89c7bdcbcaad71.tar.gz
load psych before yaml in the specs
-rw-r--r--spec/spec_helper.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index fc7ccebf20..bb2a2de09b 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,6 +1,13 @@
$:.unshift File.expand_path('..', __FILE__)
$:.unshift File.expand_path('../../lib', __FILE__)
+begin
+ require 'psych'
+rescue LoadError
+ensure
+ require 'yaml'
+end
+
require 'fileutils'
require 'rubygems'
require 'bundler'