Sha256: 84b6b4f62b36393778cdb6262db8d8bea6345560174cae575cf0bea1ca25bc3e

Contents?: true

Size: 467 Bytes

Versions: 16

Compression:

Stored size: 467 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}/..)

RBSINLINE="bundle exec --gemfile=${GEMFILE} rbs-inline"

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

exec $RBSINLINE $@

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
steep-1.10.0 bin/rbs-inline
steep-1.10.0.pre.3 bin/rbs-inline
steep-1.10.0.pre.2 bin/rbs-inline
steep-1.10.0.pre.1 bin/rbs-inline
steep-1.10.0.dev.1 bin/rbs-inline
steep-relaxed-1.9.4.3 bin/rbs-inline
steep-relaxed-1.9.3.3 bin/rbs-inline
steep-activesupport-4-1.9.4 bin/rbs-inline
steep-activesupport-4-1.9.3.1 bin/rbs-inline
steep-1.9.4 bin/rbs-inline
steep-activesupport-4-1.9.3 bin/rbs-inline
steep-1.9.3 bin/rbs-inline
steep-1.9.2 bin/rbs-inline
steep-1.9.1 bin/rbs-inline
steep-1.9.0 bin/rbs-inline
steep-1.9.0.dev.2 bin/rbs-inline