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