diff options
| -rw-r--r-- | gem_prelude.rb | 1 | ||||
| -rw-r--r-- | lib/bundled_gems.rb | 5 | ||||
| -rwxr-xr-x | tool/mkconfig.rb | 1 | ||||
| -rwxr-xr-x | tool/rdoc-srcdir | 2 |
4 files changed, 7 insertions, 2 deletions
diff --git a/gem_prelude.rb b/gem_prelude.rb index bcd2560fab..1b78d80c72 100644 --- a/gem_prelude.rb +++ b/gem_prelude.rb @@ -25,4 +25,3 @@ begin rescue LoadError warn "`syntax_suggest' was not loaded." end if defined?(SyntaxSuggest) - diff --git a/lib/bundled_gems.rb b/lib/bundled_gems.rb index 852d7c48e3..914c846503 100644 --- a/lib/bundled_gems.rb +++ b/lib/bundled_gems.rb @@ -1,5 +1,10 @@ # -*- frozen-string-literal: true -*- +# :stopdoc: +module Gem +end +# :startdoc: + module Gem::BUNDLED_GEMS # :nodoc: SINCE = { "racc" => "3.3.0", diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index ffa4c1c0b2..db74115730 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -394,6 +394,7 @@ print <<EOS ) end end +# Non-nil if configured for cross compiling. CROSS_COMPILING = nil unless defined? CROSS_COMPILING EOS diff --git a/tool/rdoc-srcdir b/tool/rdoc-srcdir index f830fdc302..275f12fe42 100755 --- a/tool/rdoc-srcdir +++ b/tool/rdoc-srcdir @@ -17,7 +17,7 @@ options.title = options.title.sub(/Ruby \K.*version/) { .sort # "MAJOR" < "MINOR", fortunately .to_h.values.join(".") } -options.parse ARGV +options.parse ARGV + ["#{invoked}/rbconfig.rb"] options.singleton_class.define_method(:finish) do super() |
