From f132ffcb58d43ce8c57814d3b70785a151bf9b42 Mon Sep 17 00:00:00 2001 From: shinokaro Date: Thu, 30 May 2024 00:05:09 +0900 Subject: [PATCH] Fix: require "pathname" --- bin/ocran | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/ocran b/bin/ocran index f1604e3..f08d75a 100644 --- a/bin/ocran +++ b/bin/ocran @@ -1,7 +1,7 @@ #!/usr/bin/env ruby # -*- ruby -*- # encoding: UTF-8 - +require "pathname" module Ocran IGNORE_MODULE_NAMES = /\A(enumerator.so|rational.so|complex.so|fiber.so|thread.rb|ruby2_keywords.rb)\z/ @@ -524,7 +524,6 @@ EOF end def Ocran.build_exe - require "pathname" require_relative "../lib/ocran/refine_pathname" ::Pathname.prepend(RefinePathname) all_load_paths = $LOAD_PATH.map { |loadpath| Pathname.new(loadpath).expand_path }