Created
April 28, 2014 12:35
-
-
Save scaint/11370488 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Updates rbenv and it's plugins to latest versions | |
rbenv_path="$HOME/.rbenv" | |
plugins_path="$rbenv_path/plugins" | |
echo -e "\033[1;32mUpdating rbenv\033[0m" | |
cd "$rbenv_path" | |
git pull | |
for plugin in $(ls "$plugins_path"); do | |
echo -e "\033[1;32mUpdating plugin: $plugin\033[0m" | |
cd "$plugins_path/$plugin" | |
git pull | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment