Sha256: 2f4eea804cf0e21f94abfc19c030f3eafce28d760fdc2f4b2660647f0218b81d

Contents?: true

Size: 516 Bytes

Versions: 23

Compression:

Stored size: 516 Bytes

Contents

#!/bin/bash

set -e

info_msg="\e[0;32m[INFO]\e[0;30m"
error_msg="\e[0;31mFAILED\e[0;30m"

function output_error_log {
  [[ -f error.log ]] && ( cat error.log >&2; rm error.log)
}

echo -ne "$info_msg Checking if ruby installed? "
which 'ruby' >/dev/null 2>error.log || ( echo -e "$error_msg\n\nCould not find \`ruby\`. Please install ruby or add it to PATH"; output_error_log; exit 1 )
echo OK

echo -e "$info_msg rubygem \"bundler\" "
gem install bundler

echo -e "$info_msg \"bundle install\" "
bundle install $*

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
event-bus-0.2.3 script/bootstrap
aruba-0.12.0 script/bootstrap
event-bus-0.2.2 script/bootstrap
aruba-0.11.2 script/bootstrap
aruba-0.11.1 script/bootstrap
event-bus-0.2.1 script/bootstrap
aruba-0.11.0.pre4 script/bootstrap
aruba-0.11.0.pre3 script/bootstrap
aruba-0.11.0.pre2 script/bootstrap
aruba-0.11.0.pre script/bootstrap
aruba-0.10.2 script/bootstrap
aruba-0.10.1 script/bootstrap
aruba-0.10.0 script/bootstrap
aruba-0.10.0.pre2 script/bootstrap
aruba-0.10.0.pre script/bootstrap
aruba-0.9.0 script/bootstrap
aruba-0.9.0.pre2 script/bootstrap
aruba-0.9.0.pre script/bootstrap
aruba-0.8.1 script/bootstrap
aruba-0.8.0 script/bootstrap