chruby support

This commit is contained in:
Loic Nageleisen 2014-11-12 14:49:07 +01:00
parent 8f87375bad
commit f5d7ca34b8

7
shell/chruby Executable file
View file

@ -0,0 +1,7 @@
if [[ -f /usr/local/opt/chruby/share/chruby/chruby.sh ]]; then
source /usr/local/opt/chruby/share/chruby/chruby.sh
if [[ -f $HOME/.ruby-version ]]; then
chruby $(cat $HOME/.ruby-version)
fi
fi