Sha256: af8e0f8ff382e00c9b8e04292e751f0ca89cf95a1528952b4555c06c5bb5f9d5
Contents?: true
Size: 781 Bytes
Versions: 3
Compression:
Stored size: 781 Bytes
Contents
#! /bin/bash ## Make sure we're in the project root cd $(dirname "$0")/.. ## Check dependencies printf "Checking dependencies... " deps=( ruby bundler git ) for i in "${deps[@]}" do : if [ ! $(which $i) ]; then printf "\nDependency check failed, file not in PATH: $i\n" exit 1 fi done if [ -d ~/.rvm ]; then ## Create .ruby-gemset if it doesn't exist printf "Checking for .ruby-gemset... " if [ ! -f .ruby-gemset ]; then printf "\nWriting .ruby-gemset..." printf 'dvl-flashes' >> .ruby-gemset fi printf "OK\n" ## Ensure RVM is using our ruby + gemset source ~/.rvm/scripts/rvm rvm use `cat .ruby-version` rvm gemset use --create `cat .ruby-gemset` fi ## Bundle printf "Bundling...\n" bundle install printf "\n\nSuccess!\n\n"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dvl-flashes-0.0.4 | script/bootstrap |
dvl-flashes-0.0.3 | script/bootstrap |
dvl-flashes-0.0.2 | script/bootstrap |