From 85930fb72a8a73a1fa3adb5ab4527977c29780ac Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 17 Oct 2024 14:46:46 +0900 Subject: [PATCH] Add extension library path --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 18a7e4e..fda4fa3 100644 --- a/Rakefile +++ b/Rakefile @@ -16,7 +16,7 @@ extask = Rake::ExtensionTask.new(name) do |x| x.lib_dir.sub!(%r[(?=/|\z)], "/#{RUBY_VERSION}/#{x.platform}") end Rake::TestTask.new(:test) do |t| - t.libs = ["lib/#{RUBY_VERSION}/#{extask.platform}"] + t.libs.unshift(extask.lib_dir) t.libs << "test/lib" t.ruby_opts << "-rhelper" t.test_files = FileList["test/**/test_*.rb"]