Skip to content
  1. Nov 03, 2023
  2. Nov 02, 2023
    • Mislav Marohnić's avatar
    • Mislav Marohnić's avatar
      Automatically link to Homebrew OpenSSL · 31e53468
      Mislav Marohnić authored
      If a system OpenSSL version was not found or is at version that is incompatible with a Ruby being installed, ruby-build would typically download and compile a new OpenSSL version scoped to that Ruby installation.
      
      Now the `needs_openssl` condition will also check for Homebrew-installed OpenSSL and automatically link to the first one found that satisfies the version requirement. This primarily helps speed up Ruby installation on macOS where the system OpenSSL is never compatible and where Homebrew is a de-facto standard package manager.
      31e53468
    • Mislav Marohnić's avatar
      Allow inline arguments in `--if` conditions · 8f294c43
      Mislav Marohnić authored
      Example:
      
          install_package openssl-1.1 "https://..." --if needs_openssl:1.0.1-3.1.x
      
      In the example, the two values are passed as arguments to the `needs_openssl` function.
      8f294c43
  3. Oct 28, 2023
  4. Oct 27, 2023
  5. Oct 25, 2023
  6. Oct 23, 2023
    • Benoit Daloze's avatar
      39f77ffd
    • Mislav Marohnić's avatar
      Fix fixing JRuby shebangs on macOS · c3bae8b6
      Mislav Marohnić authored
      LC_CTYPE is "utf-8" on macOS, which instructs utilities like `tr` to expect Unicode input. However, in case of binary files, which we here explicitly guard against, the utility will fail because of invalid input encoding.
      
      The solution is to set LC_CTYPE=C which effectively removes the expectation around input encoding and allows `tr` to process the input byte-by-byte.
      c3bae8b6
  7. Oct 20, 2023
  8. Oct 18, 2023
  9. Oct 17, 2023
  10. Oct 16, 2023
  11. Oct 14, 2023
  12. Oct 13, 2023
  13. Oct 12, 2023
  14. Oct 11, 2023