summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
AgeCommit message (Collapse)Author
2025-02-13Support `git ls-files ...`.split style for file list of gemspecHiroshi SHIBATA
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
2023-01-18Make installation messages verbose a little [ci skip]Nobuyoshi Nakada
2022-11-21Use class methods of `File` over `Kernel.open` and `IO.read`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6777
2022-09-28Install all file trees for lldb [ci skip]Nobuyoshi Nakada
It is no longer single lldb_cruby.py only.
2022-08-17Make date in installed gemspec files stableNobuyoshi Nakada
Set `date` member to `RUBY_RELEASE_DATE` instead of the date at the build time, to make installed files reproducible.
2022-08-17Refactor `RbInstall::Specs::FileCollector`Nobuyoshi Nakada
- Split into `Ext` and `Lib` classes. - `Ext#files` should not include built extension libraries. - `Ext#files` should include scripts under its own `lib`. - `Lib#files` should be prefixed with `lib/`.
2022-08-12No bundled gems to be installed from gem nowNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6234
2022-08-12All extensions in bundled gems are built by build-ext nowNobuyoshi Nakada
`RbInstall::GemInstaller#build_extensions` has nothing to do. Notes: Merged: https://github.com/ruby/ruby/pull/6234
2022-08-07Fix files for gemspec files direct-under libNobuyoshi Nakada
Collected `files` lacked `lib` prefix. Notes: Merged: https://github.com/ruby/ruby/pull/6219 Merged-By: nobu <nobu@ruby-lang.org>
2022-07-14Try to install also gemspec files under gem directoriesNobuyoshi Nakada
Gemspec files having extension libraries are placed under each gem directories now. Notes: Merged: https://github.com/ruby/ruby/pull/6130
2022-05-13Stop `build_extensions` when DESTDIR setKazuhiro NISHIYAMA
Try to fix `make install without root privilege` failures on snapshot CIs. example: https://github.com/ruby/actions/actions/runs/2315349280
2022-04-22rbinstall: Also do `Gem.ruby` patching for unpacked bundled gemsAlan Wu
Pointing `Gem.ruby` to the newly installed ruby gives mkmf the right inputs to build extensions in bundled gems. Previously, this patching was only done for compressed bundled gems. This patch also prevents `tool/fake.rb` from propagating to the child process running mkmf for the native extension. The way `tool/fake.rb` changes mkmf variables using `Kernel#trace_var` created spooky action at a distance which made debugging difficult. AppVeyor Windows CI started to fail starting with 8a3663789c52ec5635194656af6b69d3d03120ee because it enabled extension building for bundled gems on mswin. This patch should address the CI failures. Notes: Merged: https://github.com/ruby/ruby/pull/5838
2022-04-16Fix bundled gems installation when relative loadingNobuyoshi Nakada
2022-04-13Skip build extensions again on cross compiling tooKazuhiro NISHIYAMA
2022-04-13Skip build extensions again on mswin and mingwKazuhiro NISHIYAMA