summaryrefslogtreecommitdiff
path: root/spec/bundler/support/hax.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/support/hax.rb')
-rw-r--r--spec/bundler/support/hax.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/bundler/support/hax.rb b/spec/bundler/support/hax.rb
index b14e4a5943..202e8dcc32 100644
--- a/spec/bundler/support/hax.rb
+++ b/spec/bundler/support/hax.rb
@@ -21,6 +21,8 @@ module Gem
end
if ENV["BUNDLER_SPEC_VERSION"]
+ require "bundler/version"
+
module Bundler
remove_const(:VERSION) if const_defined?(:VERSION)
VERSION = ENV["BUNDLER_SPEC_VERSION"].dup