summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-05-16 14:56:40 -0700
committerAndre Arko <andre@arko.net>2015-05-16 14:57:12 -0700
commit49c9784705aa23c12ab7731b89047a86a06fe163 (patch)
treee9a7d08e25666f8bfa23f872571a7814b4c7dd32
parent4c6d3152227fdfb477228aa40fcc88ba7f60d974 (diff)
downloadbundler-49c9784705aa23c12ab7731b89047a86a06fe163.tar.gz
fix double-require on ruby 1.8.7
requiring support/path and also the absolute path in spec_helper.rb:32 meant that it was getting required twice.
-rw-r--r--spec/support/rubygems_ext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/rubygems_ext.rb b/spec/support/rubygems_ext.rb
index e90b43fc16..a39af497a3 100644
--- a/spec/support/rubygems_ext.rb
+++ b/spec/support/rubygems_ext.rb
@@ -1,5 +1,5 @@
require 'rubygems/user_interaction'
-require 'support/path'
+require 'support/path' unless defined?(Spec::Path)
module Spec
module Rubygems