Sha256: b8a78641f9dcfd3e87a265b9277c572d5779d15a55651b2a52b806e088268f56

Contents?: true

Size: 793 Bytes

Versions: 2

Compression:

Stored size: 793 Bytes

Contents

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

hash rvm 2>/dev/null || { echo >&2 "RVM is required but not installed. Aborting."; exit 1; }

# Create the latest Ruby environment with RVM and a gemset
# using the '.ruby-version' and '.ruby-gemset' files.
rvm use
gem install bundler --no-rdoc --no-ri
bundle install

# Create other Ruby environments with RVM but without a gemset
# because WWTD does not use them.
for ruby in "ruby-2.2.7" "ruby-2.3.4" "ruby-2.4.1"; do
    rvm install $ruby
    rvm use $ruby
    gem install bundler --no-rdoc --no-ri
done

# Back to the latest Ruby environment with RVM and a gemset
rvm use

# Create Gemfile.lock for each set of the dependencies
appraisal install

# Install all the dependencies in their associated environment
wwtd --only-bundle

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
ndd-rspec-1.2.1 bin/setup
ndd-rspec-rails-0.2.3 bin/setup