features/support/env.rb in rake-compiler-0.8.3 vs features/support/env.rb in rake-compiler-0.9.0.pre.1
- old
+ new
@@ -2,5 +2,9 @@
require 'rspec'
require 'fileutils'
require 'rbconfig'
ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), '../..'))
+
+# get rid of Bundler environment polution
+defined?(Bundler) and
+ ENV.delete("RUBYOPT")