Sha256: fe346d40470e598d52c5372c27937c38baf584b76e2283f7cc40a97611641268

Contents?: true

Size: 824 Bytes

Versions: 50

Compression:

Stored size: 824 Bytes

Contents

#!/bin/bash

set -eu

gem_args="--no-verbose --no-document"

# Workaround for https://github.com/jruby/jruby/issues/7059
if [[ "${RUBY_VERSION}" == *"jruby"* ]]; then
  echo "Skipping rubygems and bundler update for JRuby"
  exit 0
fi

case "${_RUBYGEMS_VERSION-"latest"}" in
  "latest")
    echo "Updating rubygems"
    retry --times 5 --sleep 5 gem update $gem_args --system
  ;;
  *)
    echo "Updating rubygems to $_RUBYGEMS_VERSION}"
    retry --times 5 --sleep 5 gem update $gem_args --system $_RUBYGEMS_VERSION
  ;;
esac

case "${_BUNDLER_VERSION-"latest"}" in
  "latest")
    echo "Updating bundler"
    retry --times 5 --sleep 5 gem update bundler $gem_args
  ;;
  *)
    echo "Updating bundler to $_BUNDLER_VERSION"
    retry --times 5 --sleep 5 gem install bundler $gem_args --version $_BUNDLER_VERSION
  ;;
esac

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
appsignal-4.0.6-java support/install_deps
appsignal-4.0.6 support/install_deps
appsignal-4.0.5-java support/install_deps
appsignal-4.0.5 support/install_deps
appsignal-4.0.4-java support/install_deps
appsignal-4.0.4 support/install_deps
appsignal-4.0.3-java support/install_deps
appsignal-4.0.3 support/install_deps
appsignal-4.0.2-java support/install_deps
appsignal-4.0.2 support/install_deps
appsignal-4.0.1-java support/install_deps
appsignal-4.0.1 support/install_deps
appsignal-4.0.0-java support/install_deps
appsignal-4.0.0 support/install_deps
appsignal-3.13.1-java support/install_deps
appsignal-3.13.1 support/install_deps
appsignal-3.13.1.alpha.1-java support/install_deps
appsignal-3.13.1.alpha.1 support/install_deps
appsignal-4.0.0.beta.2-java support/install_deps
appsignal-4.0.0.beta.2 support/install_deps