This commit is contained in:
Brian Zalewski 2023-12-07 07:32:20 +00:00
parent f90dcfad06
commit 89e067f8ef
2 changed files with 7 additions and 3 deletions

View file

@ -171,9 +171,6 @@ if [ -d /Applications ] && [ -d System ]; then
fi
fi
### Ensure gem is updated
gem update --system
### Scrub ~/.viminfo
if [ -f "$HOME/.viminfo" ]; then
logg info 'Removing ~/.viminfo' && sudo rm -f "$HOME/.vimino"

View file

@ -18,3 +18,10 @@ if [ -d /Applications ] && [ -d /System ]; then
sudo launchctl load "/Library/LaunchDaemons/com.apple.automatedupdates.plist" && logg success 'launchctl load successful'
fi
fi
### Ensure gem is updated
if command -v gem > /dev/null; then
logg info 'Ensuring system gem is updated' && gem update --system
else
logg info 'Could not find gem in PATH so skipping gem system update'
fi