From 64cff780051adf95a0f1799baddec98ae23e8add Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 17 Jul 2022 16:05:16 +0900 Subject: `Gem.unpack` extracts gems so able to execute Creates simple bin stubs to load the extracted executable files. After only extracted under `gems` directory, the gems are considered installed but the executable scripts are not found. Also the second argument is now the parent of the previous second and third arguments. --- defs/gmake.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'defs') diff --git a/defs/gmake.mk b/defs/gmake.mk index fbeb47fd9d..4019eb3854 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -298,8 +298,7 @@ extract-gems: | $(patsubst %,.bundle/gems/%,$(bundled-gems)) $(ECHO) Extracting bundle gem $*... $(Q) $(BASERUBY) -C "$(srcdir)" \ -Itool -rgem-unpack \ - -e 'Gem.unpack("gems/$(@F).gem", ".bundle/gems", ".bundle/specifications")' - $(RMALL) "$(srcdir)/$(@:.gem=)/".git* + -e 'Gem.unpack("gems/$(@F).gem", ".bundle")' $(srcdir)/.bundle/gems: $(MAKEDIRS) $@ -- cgit v1.2.1