| Age | Commit message (Collapse) | Author |
|
rbinstall: Also do `Gem.ruby` patching for unpacked bundled gems
Pointing `Gem.ruby` to the newly installed ruby gives mkmf the right
inputs to build extensions in bundled gems. Previously, this patching
was only done for compressed bundled gems.
This patch also prevents `tool/fake.rb` from propagating to the child
process running mkmf for the native extension. The way `tool/fake.rb`
changes mkmf variables using `Kernel#trace_var` created spooky action at
a distance which made debugging difficult.
AppVeyor Windows CI started to fail starting with
8a3663789c52ec5635194656af6b69d3d03120ee because it enabled extension
building for bundled gems on mswin. This patch should address the CI
failures.
---
tool/rbinstall.rb | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
|
|
Fix bundled gems installation when relative loading
---
tool/rbinstall.rb | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
|
|
Skip build extensions again on cross compiling too
---
tool/rbinstall.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Skip build extensions again on mswin and mingw
---
tool/rbinstall.rb | 3 +++
1 file changed, 3 insertions(+)
|
|
Enabled to build extensions with the bundled gems again
https://github.com/ruby/ruby/commit/cbb115213c42f15638ef119eb20c4d3106eb8b1a
https://github.com/ruby/ruby/commit/5c1b76a3a55afeb07116bbd3492303c6b6cd890d
---
tool/rbinstall.rb | 3 ---
1 file changed, 3 deletions(-)
|
|
Install built gem extension binaries
---
tool/rbinstall.rb | 56 ++++++++++++++++---------------------------------------
1 file changed, 16 insertions(+), 40 deletions(-)
|
|
Make dependency-free gemspec files
The default gems have not been installed yet in the build directory,
bundled gems depending on them can not work. As those dependencies
should be usable there even without rubygems, make temporary gemspec
files without the dependencies, and use them in the build directory.
---
ext/extmk.rb | 11 +++++++++++
tool/gem-unpack.rb | 4 ++++
2 files changed, 15 insertions(+)
|
|
Extract gemspec files to each gem directories
Since extension libraries can not be built in the source directory,
rubygems warns gems have extension libraries as the extensions are not
built. To order to suppress this warnings, extract such gemspec files
under each gem directories instead of the common `specifications`
directory.
---
tool/gem-unpack.rb | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
|
|
Obey spec file locations to rubygems
---
common.mk | 3 ++-
defs/gmake.mk | 2 +-
tool/gem-unpack.rb | 5 +++--
3 files changed, 6 insertions(+), 4 deletions(-)
|
|
Use `File::PATH_SEPARATOR` for the portability
---
tool/test-bundled-gems.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
fake.rb: Set prefix to `$topdir`
Not to refer outside the top build directory from rbconfig.
---
tool/fake.rb | 1 +
1 file changed, 1 insertion(+)
|
|
This reverts commit bda0b8c09331111f38af98291c201595ce3a2872.
|
|
|
|
|
|
Disable parallel built in test-bundled-gems
---
common.mk | 2 +-
tool/test-bundled-gems.rb | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
Co-authored-by: Yuta Saito <kateinoigakukun@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Try the tag without "v" prefix to checkout upstream repositories
---
gems/bundled_gems | 4 ++--
tool/fetch-bundled_gems.rb | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
[Backport #18373]"
This reverts commit d56b2e8820efd40840443ce3a5d16cff32a090c7.
|
|
Install built gem extension binaries
---
tool/rbinstall.rb | 56 ++++++++++++++++---------------------------------------
1 file changed, 16 insertions(+), 40 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[rubygems/rubygems] Fix a test for `bin/bundle update --bundler` to
pass on ruby/ruby.
Consider the case that the latest Bundler version on RubyGems is higher than
the `system_bundler_version` (= `Bundler::VERSION`) in `make test-bundler` on
ruby/ruby.
See <https://bugs.ruby-lang.org/issues/18643>.
https://github.com/rubygems/rubygems/commit/bfa2f72cfa
---
spec/bundler/commands/binstubs_spec.rb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
Merge RubyGems 3.3.x and Bundler 2.3.x
|
|
This reverts commit a042043487eb4c7d39307b8e784ede1856455c3e.
(cherry picked from commit 8325094177de60d365b2b5507488f0b53d11c736)
|
|
This reverts commit afa9d65d61857792508b1405835b07b78e24449c.
It prevents installing libffi.
(cherry picked from commit 1cc02078e503a18f6d1fcbd3e4d29c574895957d)
|
|
Pass ruby directory path
(cherry picked from commit 05faa36028a0a00788e2416a91e0bba21bd6f6ad)
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5342
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5334
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5325
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5317
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5297
|
|
Install bundled gem extension files to the gem extension directory
under DESTDIR, when static-linked-ext as well as non-static case.
Notes:
Merged: https://github.com/ruby/ruby/pull/5308
|
|
When building with --with-static-linked-ext, some exts without rb file
doesn't produce neither .so or .rb under .ext/common. Therefore, change
rbinstall.rb to install gemspec even if there is no .so or .rb for that
case.
Notes:
Merged: https://github.com/ruby/ruby/pull/5206
|