Created
September 18, 2008 06:12
-
-
Save sunfmin/11385 to your computer and use it in GitHub Desktop.
This file contains 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
sudo gem uninstall -Ia `gem list dm|grep dm|ruby -pe '$_ = $_.split(" ")[0].to_s + "\n"'` |
This file contains 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
sudo gem cleanup `gem list merb|grep merb|ruby -pe '$_ = $_.split(" ")[0].to_s + "\n"'` | |
gem list | awk '/^(merb|dm|data_objects|do_)/{print $1}' | xargs sudo gem update | |
gem list | awk '/^(merb|dm|data_objects|do_)/{print $1}' | xargs sudo gem clean | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment