ansible-role--bashrc/files/bashrc.d/50-dev-rbenv.sh

11 lines
192 B
Bash
Raw Permalink Normal View History

2015-11-17 11:07:59 +00:00
#!/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