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

17 lines
314 B
Bash
Raw Normal View History

2021-12-31 12:03:38 +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
SONARPATH="/usr/local/sonar-scanner-3.3.0.1492-linux"
if [ -d "$SONARPATH" ]; then
export PATH="$PATH:$SONARPATH/bin"
fi