Sha256: 010c89fb94baf1aac8968a021380a64411a624b40c35671348a7b91a20b429e9
Contents?: true
Size: 778 Bytes
Versions: 13
Compression:
Stored size: 778 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-core' >> .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
13 entries across 13 versions & 1 rubygems