Created
March 21, 2013 23:54
-
-
Save jtescher/5217899 to your computer and use it in GitHub Desktop.
Determine outdated gems without listing dependencies of dependencies
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 | |
bundle outdated | awk '{print($2)}' | while read line | |
do | |
if grep -q "gem '$line'" Gemfile; then | |
echo $line | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment