Skip to content
  1. Nov 07, 2023
    • Mislav Marohnić's avatar
      Merge pull request #2230 from rbenv/output-redesign · 8e2662fa
      Mislav Marohnić authored
      Restructure console output
      8e2662fa
    • Mislav Marohnić's avatar
    • Mislav Marohnić's avatar
      Simplify printing various error messages to stderr · ff4f335c
      Mislav Marohnić authored
      There is no need to redirect to &3 to most cases anymore: &2 will suffice.
      
      Also, it is better to print failure errors like checksum mismatches to
      stderr instead of to the log file at &4.
      ff4f335c
    • Mislav Marohnić's avatar
      Improve verify_openssl output · 5d1bebac
      Mislav Marohnić authored
      - The command line invocation is now printed in the log.
      
      - For every extension that failed, print the absolute location to its
        mkmf.log to encourage the user to look there when troubleshooting.
      
      - Do not print "Configure options used" since ruby-build now prints the
        full `./configure` invocation as part of the build output.
      5d1bebac
    • Mislav Marohnić's avatar
      Connect git commands to the original stderr · 1f72acb6
      Mislav Marohnić authored
      Git commands that perform network fetching can now render progress on
      the terminal. This also stops writing any git output to the log file.
      1f72acb6
    • Mislav Marohnić's avatar
      Simplify build_package_rbx · 56242478
      Mislav Marohnić authored
      This removes the `isolated_gem_dependency` hack as well as the `rake` &
      `bundle` shell wrapper functions. The main reason is to avoid having to
      use the `command` shell builtin to be able to invoke the real `rake` and
      `bundle`. In my testing on bash 3.2, `command` does not respect the
      usual bash error handling rules, and thus a failed `command` invocation
      can trigger the ERR trap mechanism even when we don't want it to.
      56242478
    • Mislav Marohnić's avatar
      💅 Cleanup build_package steps implementation · ae653983
      Mislav Marohnić authored
      This stops writing raw pushd/popd output to the log file, which is noisy
      and potentially confusing out-of-context. Instead, when changing the
      directory in a way that is significant to the log, just print `cd`
      followed by the name of the new directory.
      ae653983
    • Mislav Marohnić's avatar
      Show progress of downloaded files in the terminal · 93c50bba
      Mislav Marohnić authored
      This connects the stderr of download utilities like curl and wget to the
      original stderr of the process so that they can detect a terminal and
      print progress bars to it.
      93c50bba
    • Mislav Marohnić's avatar
      Improve "BUILD FAILED" output · 61e50df5
      Mislav Marohnić authored
      - "BUILD FAILED" is now printed in red instead of in highlight color.
      
      - Print CPU architecture information after OS information.
      
      - Do NOT print last 10 lines of the log anymore. Due to the verbosity of
        compilers, that rarely includes the actual error message, but users
        think it does and so they paste it in their GitHub reports instead of
        perusing the log file.
      61e50df5
    • Mislav Marohnić's avatar
      Print external commands that ruby-build executes · c6f8eb38
      Mislav Marohnić authored
      ruby-build now prints the full invocation of (almost) every external
      command that it runs. Typically that is something like:
      
          -> ./configure --prefix=/path/to/ruby
          -> make -j 2
          -> make install
      
      All output of these commands still goes to the log file by default.
      
      This changes the behavior of `--verbose` mode to simply redirect all
      command output to the stdout & stderr of the parent process instead of
      writing to and then tailing the log file. This allows implementations of
      commands like `./configure` or `make` to detect a terminal and output
      color.
      c6f8eb38
    • Mislav Marohnić's avatar
      Merge pull request #2294 from rbenv/fire-topaz-maglev · 3c505963
      Mislav Marohnić authored
      Remove Topaz, Maglev
      3c505963
  2. Nov 06, 2023
    • Mislav Marohnić's avatar
      Remove topaz · 945d1243
      Mislav Marohnić authored
      I can't find evidence that Topaz is still in development nor that it has had a release in the last 10 years.
      945d1243
    • Mislav Marohnić's avatar
      Remove maglev · a706e117
      Mislav Marohnić authored
      Maglev Ruby hasn't seen a release in 10 years.
      a706e117
  3. Nov 05, 2023
  4. Nov 03, 2023
  5. Nov 02, 2023
  6. Oct 28, 2023
  7. Oct 27, 2023
  8. Oct 25, 2023
  9. 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
  10. Oct 20, 2023
  11. Oct 18, 2023
  12. Oct 17, 2023
  13. Oct 16, 2023