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