summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
AgeCommit message (Collapse)Author
2025-12-11Append found lib/<file> entries to spec.files to support out-of-place buildsHiroshi SHIBATA
2025-10-28Restore old version of Gem::Installer#install for default gems installationHiroshi SHIBATA
2025-09-06Transform the manpages using the given substitutionNobuyoshi Nakada
2025-06-27[Bug #21453] Override `files` in gemspec file before `eval`Nobuyoshi Nakada
`executables` are often extracted from the `files` in gemspec files.
2025-06-25Override `files` of bundled gem specsNobuyoshi Nakada
Use the actual files unpacked from the gem. The recent rdoc.gemspec uses different code than expected by rbinstall.rb, which resulted in the result list not being overwritten and the template files not being installed.
2025-06-07Fix messages for skipped bundled gemsNobuyoshi Nakada
2025-04-16rbinstall.rb: Note about `no_write` [ci skip]Nobuyoshi Nakada
Since RubyGems 3.0.0 `dir_mode` option is supported, but using `File` method to apply it, not `FileUtils`. To reduce overwriting existing methods (especially built-in class), and to record making directories, keep using `no_write` method.
2025-02-13Header files for MJIT is not generated alreadyNobuyoshi Nakada
The glob patterns are replaced by rote, but these files have been removed before it.
2025-02-07Simplified to find gemspecs for bundled gems (#12709)Hiroshi SHIBATA
* Simplified to find gemspecs for bundled gems Co-authored-by: Nobuyoshi Nakada <nobu.nakada@gmail.com> Notes: Merged-By: hsbt <hsbt@ruby-lang.org>
2025-02-07Support `git ls-files ...`.split style for file list of gemspecHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12708
2025-02-01Install non-mdoc files as-isNobuyoshi Nakada
See if the content contains `.Nm` macro, instead of the names. This reverts "Don't convert bundler man pages from mdoc to man", commit e0b40ef5d8173aff304c81f93516e1246e3c042c. Notes: Merged: https://github.com/ruby/ruby/pull/12684
2025-02-01Compress manpages automaticallyNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12684
2025-01-15Do not expand empty DESTDIRNobuyoshi Nakada
2025-01-15Expand `$destdir` to enable rdoc plugins for rubygemsNobuyoshi Nakada
`Gem::InstallerUninstallerUtils#regenerate_plugins_for` assumes that `plugins_dir` is an absolute path as same as the target plugin files. Notes: Merged: https://github.com/ruby/ruby/pull/12579
2025-01-15Disable to generate rubygems pluginHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12577
2024-12-22Install modular GC librariesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12428
2024-11-09[Bug #20800] Use config target for bin directory as-isNobuyoshi Nakada
The "target" in `RbConfig::CONFIG` is being changed from config.sub to align to the system `uname`. Use the value modified by config.sub, and make the directory same as GNU utilities, such as binutils. Notes: Merged: https://github.com/ruby/ruby/pull/12043
2024-11-09[Bug #20800] Move executable binary file pathNobuyoshi Nakada
From under "libexec", under `$(target)/bin` like as binutils. Notes: Merged: https://github.com/ruby/ruby/pull/12043
2024-11-09[Bug #20800] Locate executable binary file under "libexec" directlyNobuyoshi Nakada
"libexec" means the directory for executable or binary files already. Notes: Merged: https://github.com/ruby/ruby/pull/12043
2024-08-23`load_relative` is always falsy hereDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/11435
2024-08-23Reuse `load_relative` localDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/11435
2024-08-20Remove extraneous lock filesNobuyoshi Nakada
See https://github.com/rubygems/rubygems/pull/7939
2024-06-02Show destination directory after installationNobuyoshi Nakada
Due to the length of the list of gems to install, the message at the beginning of the installation scrolls out.
2024-03-26Fix extension installer for out-of-place buildHiroshi SHIBATA
https://github.com/ruby/ruby/pull/9673#issuecomment-2019028293
2024-03-25Use load_gemspec instead of Gem::Specification.load.Hiroshi SHIBATA
We need to purge `git ls-files` from gemspec in default gems.
2024-03-25Guard makefile target at cross-buildHiroshi SHIBATA
http://rubyci.s3.amazonaws.com/crossruby/crossruby-master-aarch64/log/20240325T041917Z.fail.html.gz
2024-03-25Consider extensions in gems outside of ext/David Rodriguez
2024-03-25Extract `root` helperDavid Rodriguez
It holds the root directory for each type of default gem (ext/ or lib/).
2024-03-25Consider `target_prefix` in extension MakefilesDavid Rodriguez
2024-03-25Consistently put requirable features in default gemspecs file listDavid Rodríguez
2024-03-25Fix gemspec file list for extension gemsDavid Rodríguez
So that it also includes requirable features provided by extensions.
2024-03-25Simplify FileCollector interfaceDavid Rodriguez
2024-03-25Use `$ext_build_dir` consistentlyDavid Rodriguez
Instead of hardcoded "ext".
2024-03-23Ignore method chains succeeding `git ls-files`Nobuyoshi Nakada
2024-03-23Ignore method chains succeeding `git ls-files`Nobuyoshi Nakada
2024-03-14Ensure test suite is compatible with --frozen-string-literalJean Boussier
As preparation for https://bugs.ruby-lang.org/issues/20205 making sure the test suite is compatible with frozen string literals is making things easier.
2024-03-09Include default gems directories in installed listNobuyoshi Nakada
2024-03-09Reorder and move `install?` blocks after method definitionsNobuyoshi Nakada
2024-03-09Merged intermediate class `GemInstaller` to `UnpackedInstaller`Nobuyoshi Nakada
2024-02-28Support file listing with IO.poepn styleHiroshi SHIBATA
2024-02-18Link ruby.pc to pkg-config data directoryNobuyoshi Nakada
2024-02-18Install binary executable files to architecture dependent pathNobuyoshi Nakada
2024-02-16Adjust indentHiroshi SHIBATA
2024-02-16Try to find gemspec from `.bundle/specificationsHiroshi SHIBATA
2024-02-16Try to load original gemspec from `.bundle/gems/foo-x.y.z/foo.gemspec`.Hiroshi SHIBATA
`.bundle/specification/foo-x.y.z.gemspec` may be changed our toolchain
2024-02-09Skip to install bundled gems that is C extension and build failed.Hiroshi SHIBATA
Ex. We can't build syslog gem in Windows platform. We should skip install syslog as bundled gems.
2024-01-30rbinstall.rb: Fix a closing parenthesis [ci skip]Nobuyoshi Nakada
2024-01-30rbinstall.rb: Show types to install in the help [ci skip]Nobuyoshi Nakada
2023-03-27Use gemspec that keeps original dependenciesHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7321
2023-03-06s/mjit/rjit/Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7462