File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
lib/truffle/rubygems/defaults Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,10 @@ Compatibility:
69
69
* Make the top-level exception handler more compatible with MRI (#2047 ).
70
70
* Implemented ` rb_enc_codelen ` .
71
71
72
+ Changes:
73
+
74
+ * RubyGems gem commands updated to use the ` --no-document ` option by default.
75
+
72
76
Performance:
73
77
74
78
* Enable lazy translation from the parser AST to the Truffle AST for user code by default. This should improve application startup time (#1992 ).
Original file line number Diff line number Diff line change @@ -21,4 +21,11 @@ def self.default_dir
21
21
# TruffleRuby has a different ABI and cannot reuse gems precompiled for MRI.
22
22
# See https://github.com/rubygems/rubygems/issues/2945
23
23
Gem . platforms = [ Gem ::Platform ::RUBY ]
24
+
25
+ def self . platform_defaults
26
+ # disable documentation by default as it takes a significant amount of time for installing gems and is rarely used
27
+ {
28
+ 'gem' => '--no-document'
29
+ }
30
+ end
24
31
end
You can’t perform that action at this time.
0 commit comments