Last active
July 31, 2018 15:06
-
-
Save DDAZZA/b841eb1861f899b812e490a21798418c to your computer and use it in GitHub Desktop.
List all bundled gems and their sizes
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
#!/bin/bash | |
# List the gems in the current bundle and their sizes | |
bundle list --paths | xargs du -s | sort -n | awk '{ print $2 $4 }' | xargs du -sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment