blob: 5ed6da22d8b9293ad497186688ac41d0fc40039f (
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" ] && prepend_path "$GEM_USER_DIR"
export PATH
fi
|