osx/custompkg/root/etc/skel/Library/user-setup/050.link-rubygems-dir.sh

8 lines
138 B
Bash
Raw Permalink Normal View History

if [[ ! -d ~/Library/RubyGems ]]; then
mkdir ~/Library/RubyGems
fi
if [[ ! -e ~/.gem ]]; then
ln -s ~/Library/RubyGems ~/.gem
fi