From 320386e98a12a01f51f0b4f0413bf0ea17ea0e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=9A=93?= Date: Sun, 15 Jun 2025 23:37:48 -0400 Subject: [PATCH] Delete /Dist/lib/ruby/gems if it exists for whatever reason --- libretro/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/libretro/Makefile b/libretro/Makefile index 1f4d94c0..5adc7500 100644 --- a/libretro/Makefile +++ b/libretro/Makefile @@ -112,6 +112,7 @@ $(OUTDIR)/dist.zip: $(LIBDIR)/Dist/bin/ruby $(DOWNLOADS)/ruby/BSDL $(DOWNLOADS)/ rm $(LIBDIR)/_Dist/lib/libruby-static.a rm -r $(LIBDIR)/_Dist/include rm -r $(LIBDIR)/_Dist/share + rm -rf $(LIBDIR)/_Dist/lib/ruby/gems rm -r $(LIBDIR)/_Dist/lib/ruby/$(shell $(RUBY) -e 'puts "$(RUBY_VERSION)".split(".")[..1].join(".")').0/bundler rm -r $(LIBDIR)/_Dist/lib/ruby/$(shell $(RUBY) -e 'puts "$(RUBY_VERSION)".split(".")[..1].join(".")').0/rdoc rm -r $(LIBDIR)/_Dist/lib/ruby/$(shell $(RUBY) -e 'puts "$(RUBY_VERSION)".split(".")[..1].join(".")').0/rubygems