Created
December 9, 2011 12:59
-
-
Save masukomi/1451438 to your computer and use it in GitHub Desktop.
bundle show all (for bundlr)
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
# I wanted a way to combine bundle list with bundle show so that i could show | |
# the location of all the gems bundlr was managing. | |
# this does it (at least on unix / OS X ) | |
# The first line is always an error message from bundlr because the first line of | |
# bundle list's output is "Gems included by the bundle:" which, obviously | |
# isn't a valid gem name. | |
bundle list | perl -pi -e 's/\s+\*\s(\S+)\s+.*/$1/' | while read line ; do bundle show $line ; done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment