class Bundler::RubygemsIntegration

def reverse_rubygems_kernel_mixin

def reverse_rubygems_kernel_mixin
  # Disable rubygems' gem activation system
  ::Kernel.class_eval do
    if private_method_defined?(:gem_original_require)
      alias_method :rubygems_require, :require
      alias_method :require, :gem_original_require
    end
    undef gem
  end
end