diff --git a/lib/gems/pending/util/extensions/miq-kernel.rb b/lib/gems/pending/util/extensions/miq-kernel.rb deleted file mode 100644 index bc4c9434d..000000000 --- a/lib/gems/pending/util/extensions/miq-kernel.rb +++ /dev/null @@ -1,7 +0,0 @@ -module Kernel - # Replaces Kernel's require_relative to allow it to be used in irb and eval - # See: http://bugs.ruby-lang.org/issues/4487 - def require_relative(path) - require File.join(File.dirname(caller[0]), path.to_str) - end -end diff --git a/spec/util/extensions/miq-kernel_spec.rb b/spec/util/extensions/miq-kernel_spec.rb deleted file mode 100644 index 3005befa0..000000000 --- a/spec/util/extensions/miq-kernel_spec.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'util/extensions/miq-kernel' - -describe Kernel do - it ".require_relative" do - expect(Kernel.respond_to?(:require_relative)).to be_truthy - end -end