diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb index 654667feed..fce0cb4079 100644 --- a/ext/fiddle/extconf.rb +++ b/ext/fiddle/extconf.rb @@ -19,7 +19,7 @@ if ! bundle end or begin # for https://github.com/ruby/fiddle - if bundle && File.exit?("../../bin/extlibs.rb") + if bundle && File.exist?("../../bin/extlibs.rb") require "fileutils" require_relative "../../bin/extlibs" extlibs = ExtLibs.new