1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2025-02-17 07:27:25 +01:00

really update everything

This commit is contained in:
Matthias Kretschmann 2015-01-13 16:37:25 +01:00
parent 6c1a57b4b1
commit 59f126caee

View File

@ -12,26 +12,22 @@
# ------------- # -------------
echo "$(tput setaf 136)" echo "$(tput setaf 136)"
echo " Update Homebrew " echo "Update Homebrew "
echo "=============================================" echo "=============================="
echo "$(tput sgr0)" # reset echo "$(tput sgr0)" # reset
brew update brew update
brew upgrade brew upgrade
brew cleanup brew cleanup
echo "$(tput setaf 64)" # green
echo "---------------------------------------------"
echo " ✓ done"
echo "$(tput sgr0)" # reset
# #
# npm # npm
# ------------- # -------------
echo "$(tput setaf 136)" echo "$(tput setaf 136)"
echo " Update npm " echo "Update npm "
echo "=============================================" echo "============================="
echo "$(tput sgr0)" # reset echo "$(tput sgr0)" # reset
# update npm itself # update npm itself
@ -41,42 +37,41 @@ npm install npm -g
#npm update -g #npm update -g
sh npm-upgrade.sh sh npm-upgrade.sh
echo "$(tput setaf 64)" # green
echo "---------------------------------------------"
echo " ✓ done"
echo "$(tput sgr0)" # reset
# #
# Ruby # Ruby
# ------------- # -------------
echo "$(tput setaf 136)" echo "$(tput setaf 136)"
echo " Update rvm " echo "Update rvm "
echo "=============================================" echo "============================="
echo "$(tput sgr0)" # reset echo "$(tput sgr0)" # reset
# update rvm itself # update rvm itself
rvm get latest rvm get stable
rvm reload
# update all gemsets
rvm gemset update
# cleanup
rvm cleanup all rvm cleanup all
echo "$(tput setaf 64)" # green
echo "---------------------------------------------"
echo " ✓ done"
echo "$(tput sgr0)" # reset
# #
# Gems # Gems
# ------------- # -------------
echo "$(tput setaf 136)" echo "$(tput setaf 136)"
echo " Update gems " echo "Update gems "
echo "=============================================" echo "=============================="
echo "$(tput sgr0)" # reset echo "$(tput sgr0)" # reset
gem update --system gem update --system
gem update gem update
echo "$(tput setaf 64)" # green echo "$(tput setaf 64)" # green
echo "---------------------------------------------" echo "-------------------------------"
echo " done" echo " ✓ all done"
echo "$(tput sgr0)" # reset echo "$(tput sgr0)" # reset