diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-07-17 16:05:16 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-07-17 19:57:48 +0900 |
commit | 64cff780051adf95a0f1799baddec98ae23e8add (patch) | |
tree | a0f339b0e2307092bcd701a615d3caede1e5abcd /defs | |
parent | fab8f3bde6e4d1ac78aa63e4768452b3da0f955e (diff) |
`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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6145
Diffstat (limited to 'defs')
-rw-r--r-- | defs/gmake.mk | 3 |
1 files changed, 1 insertions, 2 deletions
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) $@ |