Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (9 sloc) 378 Bytes
#!/usr/bin/env bash
source $HOME/.rvm/scripts/rvm && source .rvmrc
# install bundler if necessary
gem list --local bundler | grep bundler || gem install bundler || exit 1
# debugging info
echo USER=$USER && ruby --version && which ruby && which bundle
# conditionally install project gems from Gemfile
bundle check || bundle install --without postgres || exit 1
rake cruise