ansible-role--bashrc/files/bashrc.d/55-dev-rbenv.sh
2021-12-31 13:03:38 +01:00

16 lines
314 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
SONARPATH="/usr/local/sonar-scanner-3.3.0.1492-linux"
if [ -d "$SONARPATH" ]; then
export PATH="$PATH:$SONARPATH/bin"
fi