Sha256: 9cdc9d69f09481d1680869a405bedf975bbba83f1628570e94038cab25219dff

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

#!/bin/bash

# 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 gemset delete $RUBY_VERSION ./tmp/gemset 2>/dev/null || true
  find ./tmp/gemset -delete 2>/dev/null || true
  rbenv rehash
  rbenv gemset active
  rbenv gemset create $RUBY_VERSION ./tmp/gemset
  echo ./tmp/gemset > .rbenv-gemsets
  rbenv rehash
fi

##
## Install Gems
##

gem install bundler --no-doc -v 1.16.1
gem install kramdown -v 1.16.2 # for YARD Markdown doc generation
gem install yard -v 0.9.12
yard config --gem-install-yri
gem install json -v 2.1.0
gem install activemodel -v 4.2.10
gem install rake -v 12.3.0
gem install rspec -v 3.7.0
gem install rubocop -v 0.52.1
gem install simplecov -v 0.15.1
gem install awesome_print -v 1.8.0

gem install repository-support -v 0.1.1

gem install fancy-open-struct -v 0.4.0


bundle install --binstubs --local

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
repository-base-0.4.0 bin/setup