Unverified Commit c6e924ed authored by João Duarte's avatar João Duarte Committed by GitHub
Browse files

workaround jruby#7799 by updating rubygems for JRuby 9.2.x (#2246)



Co-authored-by: default avatarMislav Marohnić <git@mislav.net>
parent 20544013
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -747,6 +747,11 @@ build_package_jruby() {

install_jruby_launcher() {
  cd "${PREFIX_PATH}/bin"
  # workaround for https://github.com/jruby/jruby/issues/7799
  local jruby_version
  jruby_version="$(./ruby -e 'puts JRUBY_VERSION' 2>/dev/null)"
  [[ $jruby_version != "9.2."* ]] ||
    ./ruby gem update -q --silent --system 3.3.26 --no-document --no-post-install-message >&4 2>&1
  { ./ruby gem install jruby-launcher
  } >&4 2>&1
}
+1 −0
Original line number Diff line number Diff line
@@ -589,6 +589,7 @@ DEF
  assert_success

  assert_build_log <<OUT
jruby -e puts JRUBY_VERSION
jruby gem install jruby-launcher
OUT