ansible-role--bashrc/files/bashrc.d/05-rbenv.sh
@@@No user configured@@@ 0609db4265 Add bashrc module.
2015-11-17 12:07:59 +01:00

10 lines
192 B
Bash

#!/bin/sh
###
# Set up Ruby environment
#
#export PATH=/var/lib/gems/1.8/bin:$PATH
if [[ -s "$HOME/.rbenv/bin/rbenv" ]]; then
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
fi