Sha256: de0a2d2d8615e2cdac911b8671120fefd733e5aaf177cc27e2b1b84a52b5ddd0
Contents?: true
Size: 781 Bytes
Versions: 5
Compression:
Stored size: 781 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 -ne "$info_msg Checking if bash installed? " which 'bash' >/dev/null 2>error.log || ( echo -e "$error_msg\n\nCould not find \`bash\`. Please install bash or add it to PATH"; output_error_log; exit 1 ) echo OK echo -e "$info_msg rubygem \"bundler\" " which bundle > /dev/null || gem install bundler --version '~> 1.17.3' echo -e "$info_msg \"bundle install\" " bundle install $*
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
aruba-0.14.14 | script/bootstrap |
aruba-0.14.13 | script/bootstrap |
aruba-0.14.12 | script/bootstrap |
aruba-0.14.11 | script/bootstrap |
aruba-0.14.10 | script/bootstrap |