1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Deal with bundled gems by BASERUBY

As the currently released/snapshot tarballs should contain the
bundled gems extracted already, RUNRUBY is not required when
building from them with GNU make.
This commit is contained in:
Nobuyoshi Nakada 2020-03-28 17:24:59 +09:00
parent 8c80922c82
commit 476ac00e49
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -263,7 +263,7 @@ extract-gems: | $(patsubst %,.bundle/gems/%,$(BUNDLED_GEMS))
.bundle/gems/%: gems/%.gem | .bundle/gems
$(ECHO) Extracting bundle gem $*...
$(Q) $(RUNRUBY) -C "$(srcdir)" \
$(Q) $(BASERUBY) -C "$(srcdir)" \
-Itool -rgem-unpack \
-e 'Gem.unpack("gems/$(@F).gem", ".bundle/gems")'