Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 13 lines (9 sloc) 0.251 kB
#!/usr/bin/env bash
set -e
shopt -s nullglob
RUBIES=()
[[ -d "$PREFIX/opt/rubies/" ]] && RUBIES+=("$PREFIX"/opt/rubies/*)
[[ -d "$HOME/.rubies" ]] && RUBIES+=("$HOME"/.rubies/*)
for dir in "${RUBIES[@]}"; do
chruby-exec "${dir##*/}" -- "$@"
done
Jump to Line
Something went wrong with that request. Please try again.