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