Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove all rubies older than given date
DATE=2012-06-01
for version in `find $rvm_path/rubies/ -mindepth 1 -maxdepth 1 -type d -not -newermt $DATE | cut -d / -f 7`; do rvm remove $version; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment