Sha256: a58f00691394baccc6390ea32428e702c57b743440ff84401d9603b2953bbce1

Contents?: true

Size: 519 Bytes

Versions: 12

Compression:

Stored size: 519 Bytes

Contents

#!/usr/bin/env bash

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

RBS="bundle exec --gemfile=${GEMFILE} rbs --collection=${COLLECTION}"

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

exec $RBS $@

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
steep-1.5.1 bin/rbs
steep-1.5.0 bin/rbs
steep-1.5.0.pre.6 bin/rbs
steep-1.5.0.pre.5 bin/rbs
steep-1.5.0.pre.4 bin/rbs
steep-1.5.0.pre.3 bin/rbs
steep-1.5.0.pre.2 bin/rbs
steep-1.5.0.pre.1 bin/rbs
steep-1.4.0 bin/rbs
steep-1.4.0.dev.5 bin/rbs
steep-1.4.0.dev.4 bin/rbs
steep-1.4.0.dev.3 bin/rbs