blob: 9d101c48ef35e3b2b0a6fc7249794670c72e0af1 (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
if command -v ruby >/dev/null && command -v gem >/dev/null; then
GEM_USER_DIR="$(ruby -r rubygems -e 'puts Gem.user_dir')"
[ -d "$GEM_USER_DIR"/bin ] && prepend_path "$GEM_USER_DIR"/bin
export PATH
fi
|