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

8 lines
138 B
Bash

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