summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mixlib-shellout-universal-mingw32.gemspec2
-rw-r--r--mixlib-shellout.gemspec2
2 files changed, 2 insertions, 2 deletions
diff --git a/mixlib-shellout-universal-mingw32.gemspec b/mixlib-shellout-universal-mingw32.gemspec
index dd41ae4..3a3968d 100644
--- a/mixlib-shellout-universal-mingw32.gemspec
+++ b/mixlib-shellout-universal-mingw32.gemspec
@@ -1,4 +1,4 @@
-gemspec = instance_eval(File.read(File.expand_path("mixlib-shellout.gemspec", __dir__)))
+gemspec = instance_eval(File.read(File.expand_path("../mixlib-shellout.gemspec", __FILE__)))
gemspec.platform = Gem::Platform.new(%w{universal mingw32})
diff --git a/mixlib-shellout.gemspec b/mixlib-shellout.gemspec
index 8890857..dbb4c3d 100644
--- a/mixlib-shellout.gemspec
+++ b/mixlib-shellout.gemspec
@@ -1,4 +1,4 @@
-$:.unshift(__dir__ + "/lib")
+$:.unshift(File.dirname(__FILE__) + "/lib")
require "mixlib/shellout/version"
Gem::Specification.new do |s|