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

3 lines
120 B
Bash

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