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 @@ -72,6 +72,10 @@ Compatibility:
72
72
* Implemented ` Ripper ` by using the C extension (#1585 ).
73
73
* Fixed ` refine + super ` compatibility (#2039 , #2048 , @ssnickolay )
74
74
75
+ Changes:
76
+
77
+ * RubyGems gem commands updated to use the ` --no-document ` option by default.
78
+
75
79
Performance:
76
80
77
81
* 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