agaric-coop/box/provisioning/roles/geerlingguy.ruby/files/rubygems.sh

4 lines
120 B
Bash
Raw Permalink Normal View History

if which ruby >/dev/null && which gem >/dev/null; then
PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH"
fi