Sha256: 0a219dc40b7258a70502d10d2b58f70df7db7046599f6e655ffa0767e64b30ee
Contents?: true
Size: 684 Bytes
Versions: 12
Compression:
Stored size: 684 Bytes
Contents
#!/usr/bin/env bash set -o errexit if [ "$(uname)" == "Darwin" ]; then DOCKER_RUNTIME=${DOCKER_RUNTIME:-'splatform/bosh-cli'} # We need to mount the enclosing repo in case we are just a submodule # (still doesn't support being a nested submodule though) ROOT=${PWD} if [ -f .git ]; then cd ..; fi GIT_ROOT=$(git rev-parse --show-toplevel) cd ${ROOT} WORK_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" docker run \ --rm \ --volume ${GIT_ROOT}:${GIT_ROOT} \ --workdir ${WORK_DIR} \ --entrypoint bash \ ${DOCKER_RUNTIME} \ -l -c "export RBENV_VERSION=2.1.7 && ${BASH_SOURCE[1]}" exit fi
Version data entries
12 entries across 12 versions & 1 rubygems