From 8ee1e8d1847a0b4ba2de5a729f41a2d00853bf13 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 6 Oct 2025 22:11:07 +0900 Subject: [PATCH] full-core.gembox: exclude mruby-sleep from gembox Since full-core.gembox includes mruby-task (which defines MRB_USE_TASK_SCHEDULER), mruby-sleep's implementation becomes disabled via conditional compilation. Exclude mruby-sleep from full-core.gembox to avoid loading an effectively empty gem. mruby-task provides task-aware sleep/usleep implementations instead. Co-authored-by: Claude --- mrbgems/full-core.gembox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrbgems/full-core.gembox b/mrbgems/full-core.gembox index fdee3268e..759c13215 100644 --- a/mrbgems/full-core.gembox +++ b/mrbgems/full-core.gembox @@ -1,6 +1,6 @@ MRuby::GemBox.new do |conf| Dir.glob("#{root}/mrbgems/mruby-*/mrbgem.rake") do |x| g = File.basename(File.dirname(x)) - conf.gem :core => g unless g =~ /^mruby-(?:bin-debugger|test)$/ + conf.gem :core => g unless g =~ /^mruby-(?:bin-debugger|test|sleep)$/ end end