Sha256: feb0329d1da9bc0613d68360f84c3ee416917f0c911dd84ebc03b0f76b1ccf88

Contents?: true

Size: 845 Bytes

Versions: 4

Compression:

Stored size: 845 Bytes

Contents

#!/usr/bin/env bash
# set -euo pipefail
# IFS=$'\n\t'
# set -vx

# This works for MRI; it may or may not work for other Rubies.
RUBY_VERSION=`ruby --version | cut -d ' ' -f 2 | sed 's/p.*//'`

##
## Initialise Gemset and setup if `rbenv` is available
##

rm -f Gemfile.lock .rbenv-gemsets

if [[ `rbenv --version 2>/dev/null` ]]; then
  rbenv local $RUBY_VERSION
  rbenv gemset delete $RUBY_VERSION ./tmp/gemset 2>/dev/null || true
  find ./tmp/gemset -delete 2>/dev/null || true
  rbenv rehash
  rbenv gemset create $RUBY_VERSION ./tmp/gemset
  echo ./tmp/gemset > .rbenv-gemsets
  rbenv rehash
fi

##
## Install Gems
##

echo 'Building list of Gems to install...'
gem install --ignore-dependencies `scripts/build-gem-list.rb`

# ############################################################################ #

bundle install --binstubs --local

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
crypt_ident-0.2.6 bin/setup
crypt_ident-0.2.5 bin/setup
crypt_ident-0.2.2 bin/setup
crypt_ident-0.2.1 bin/setup