From 59f126caeeec0ef2b41d9037ea47cd316c073255 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 13 Jan 2015 16:37:25 +0100 Subject: [PATCH] really update everything --- bin/update-everything.sh | 43 ++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/bin/update-everything.sh b/bin/update-everything.sh index 1d48dbb..3e3e897 100755 --- a/bin/update-everything.sh +++ b/bin/update-everything.sh @@ -12,26 +12,22 @@ # ------------- echo "$(tput setaf 136)" -echo " Update Homebrew " -echo "=============================================" +echo "Update Homebrew " +echo "==============================" echo "$(tput sgr0)" # reset brew update brew upgrade brew cleanup -echo "$(tput setaf 64)" # green -echo "---------------------------------------------" -echo " ✓ done" -echo "$(tput sgr0)" # reset # # npm # ------------- echo "$(tput setaf 136)" -echo " Update npm " -echo "=============================================" +echo "Update npm " +echo "=============================" echo "$(tput sgr0)" # reset # update npm itself @@ -41,42 +37,41 @@ npm install npm -g #npm update -g sh npm-upgrade.sh -echo "$(tput setaf 64)" # green -echo "---------------------------------------------" -echo " ✓ done" -echo "$(tput sgr0)" # reset - # # Ruby # ------------- echo "$(tput setaf 136)" -echo " Update rvm " -echo "=============================================" +echo "Update rvm " +echo "=============================" echo "$(tput sgr0)" # reset # update rvm itself -rvm get latest +rvm get stable +rvm reload + +# update all gemsets +rvm gemset update + +# cleanup rvm cleanup all -echo "$(tput setaf 64)" # green -echo "---------------------------------------------" -echo " ✓ done" -echo "$(tput sgr0)" # reset # # Gems # ------------- echo "$(tput setaf 136)" -echo " Update gems " -echo "=============================================" +echo "Update gems " +echo "==============================" echo "$(tput sgr0)" # reset gem update --system gem update + + echo "$(tput setaf 64)" # green -echo "---------------------------------------------" -echo " ✓ done" +echo "-------------------------------" +echo " ✓ all done" echo "$(tput sgr0)" # reset \ No newline at end of file