Notes

RVM Wrapper

To use a Ruby installed with RVM in shell scripts, cron jobs, Keyboard Maestro & Alfred workflows, &c..

#!/bin/bash
# Source RVM
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
    source "$HOME/.rvm/scripts/rvm"
elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
    source "/usr/local/rvm/scripts/rvm"
else
    printf "ERROR: RVM doesn't seem to be installed.\n"
fi
# Use a Ruby
rvm use 1.9.3-p194