#!/usr/bin/env bash if [[ -s "/home/chris/.rvm/environments/ruby-1.9.2-p180@selgem" ]] then source "/home/chris/.rvm/environments/ruby-1.9.2-p180@selgem" exec gem "$@" else echo "ERROR: Missing RVM environment file: '/home/chris/.rvm/environments/ruby-1.9.2-p180@selgem'" >&2 exit 1 fi