Sha256: 4e975c3a258cab41960f57b2d3d31272b2c2e0c7652f7f1fbd9e29a5071a4b04

Contents?: true

Size: 527 Bytes

Versions: 24

Compression:

Stored size: 527 Bytes

Contents

#!/usr/bin/env bash

BINSTUB_DIR=$(cd $(dirname $0); pwd)
GEMFILE=$(readlink -f ${BINSTUB_DIR}/../gemfile_steep/Gemfile)
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

24 entries across 24 versions & 1 rubygems

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