From e67df19ebd92d25bc1e8960ce0985a61bc5c997e Mon Sep 17 00:00:00 2001 From: Samuel Giddins Date: Sat, 14 Jan 2017 20:15:17 -0600 Subject: Avoid constant override warning on <2.0 in specs --- spec/support/hax.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/support/hax.rb b/spec/support/hax.rb index d00bf619a9..663d3527c5 100644 --- a/spec/support/hax.rb +++ b/spec/support/hax.rb @@ -10,6 +10,7 @@ end if ENV["BUNDLER_SPEC_VERSION"] module Bundler + remove_const(:VERSION) if const_defined?(:VERSION) VERSION = ENV["BUNDLER_SPEC_VERSION"].dup end end -- cgit v1.2.1