Sha256: 026dadbbeb3695dc9251fd03ed704065b8cf2b85722b4b8e7babc3d18e884d5e

Contents?: true

Size: 444 Bytes

Versions: 24

Compression:

Stored size: 444 Bytes

Contents

#!/usr/bin/env bash

BINSTUB_DIR=$(cd $(dirname $0); pwd)
GEMFILE=$(readlink -f ${BINSTUB_DIR}/../gemfile_steep/Gemfile)
ROOT_DIR=$(readlink -f ${BINSTUB_DIR}/..)

STEEP="bundle exec --gemfile=${GEMFILE} steep"

if type "rbenv" > /dev/null 2>&1; then
  STEEP="rbenv exec ${STEEP}"
else
  if type "rvm" > /dev/null 2>&1; then
    if [ -e ${ROOT_DIR}/.ruby-version ]; then
      STEEP="rvm ${ROOT_DIR} do ${STEEP}"
    fi
  fi
fi

exec $STEEP $@

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
steep-1.9.1 bin/steep
steep-1.9.0 bin/steep
steep-1.9.0.dev.2 bin/steep
steep-1.9.0.dev.1 bin/steep
steep-1.8.3 bin/steep
steep-1.8.2 bin/steep
steep-1.8.1 bin/steep
steep-1.8.0 bin/steep
steep-1.8.0.pre.2 bin/steep
steep-1.8.0.pre.1 bin/steep
steep-1.8.0.dev.2 bin/steep
steep-1.8.0.dev.1 bin/steep
steep-1.7.1 bin/steep
steep-1.7.0 bin/steep
steep-1.7.0.dev.3 bin/steep
steep-1.7.0.dev.2 bin/steep
steep-1.7.0.dev.1 bin/steep
steep-1.6.0 bin/steep
steep-1.6.0.pre.4 bin/steep
steep-1.6.0.pre.3 bin/steep