ruby_setup() {
	rvm system
	export PATH="$( \
		printf '%s:/X' "$PATH" \
		| tr ':' '\0' \
		| grep -zv ruby \
		| head -c-1 \
		| tr '\0' ':')"
	export PATH="${PATH%:/X}"
}

source ~/.rvm/scripts/rvm

ruby_setup() {
	rvm system
	export PATH="$( \
		printf '%s:/X' "$PATH" \
		| tr ':' '\0' \
		| grep -zv ruby \
		| head -c-1 \
		| tr '\0' ':')"
	export PATH="${PATH%:/X}"
}

Make rvm a function so that `rvm system` should work
Make rvm a function so that `rvm system` should work
