summaryrefslogtreecommitdiff
path: root/lib/rubygems/installer.rb
diff options
context:
space:
mode:
authorYuta Saito <[email protected]>2024-05-04 21:23:36 +0000
committergit <[email protected]>2024-06-18 00:59:35 +0000
commit273d41b9e3c90d4d3fe2ffcb88477197d528b9a0 ()
tree4449b79880de2d84cd1e82651f61902db35aeb8e /lib/rubygems/installer.rb
parent91bbb7831301f405c56b5de1bd9e7a79f4d302b5 (diff)
[rubygems/rubygems] Add `--target-rbconfig` option to `gem install` and `gem update` commands
This adds `--target-rbconfig` option to specify the rbconfig.rb file for the deployment target platform. This is useful when cross-compiling gems. At the moment, this option is only available for `extconf.rb`-based extensions. https://.com/rubygems/rubygems/commit/cf2843f7a2
-rw-r--r--lib/rubygems/installer.rb4
1 files changed, 2 insertions, 2 deletions
@@ -847,7 +847,7 @@ TEXT
# configure scripts and rakefiles or mkrf_conf files.
def build_extensions
- builder = Gem::Ext::Builder.new spec, build_args
builder.build_extensions
end
@@ -993,7 +993,7 @@ TEXT
end
def rb_config
- RbConfig::CONFIG
end
def ruby_install_name