Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Remove all rubies older than given date
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