Sha256: e4b21eda4ec08eccc4b338e6764b930648e3981cbc25bf816911fcae5b08a8d5

Contents?: true

Size: 950 Bytes

Versions: 8

Compression:

Stored size: 950 Bytes

Contents

#!/bin/bash
set -e
cd "$(dirname "$0")/.."

rbenv which ruby >/dev/null 2>&1 || (brew upgrade ruby-build || true; rbenv install)

# Setup rbenv so we can switch rubies below
eval "$(rbenv init - --no-rehash)"

for ruby_version in `ruby -ryaml -e 'puts YAML.load(File.read(".travis.yml"))["rvm"].join(" ")'`; do
  rbenv versions --bare | grep "^${ruby_version}$" || rbenv install $ruby_version
  rbenv shell $ruby_version

  gem list -i bundler >/dev/null || gem install bundler

  bundle install
done

tput bold    # bold text
tput setaf 2 # green text
echo "****************************************************************"
echo "*                                                              *"
echo "*                         Good to go!                          *"
echo "*                                                              *"
echo "****************************************************************"
tput sgr0    # reset to default text

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
instrumental_agent-3.0.0 script/setup
instrumental_agent-3.0.0.beta3 script/setup
instrumental_agent-3.0.0.beta2 script/setup
instrumental_agent-3.0.0.beta script/setup
instrumental_agent-3.0.0.alpha script/setup
instrumental_agent-2.1.0 script/setup
instrumental_agent-2.0.0 script/setup
instrumental_agent-2.0.0.alpha script/setup