-
-
Save halorgium/791f92b770205495411a to your computer and use it in GitHub Desktop.
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
GEMDIR=/root/.gem | |
dumpgemmd5s () { | |
find $GEMDIR -type f -exec openssl md5 {} \; > $HOME/log.$1 | |
} | |
rm -fr $GEMDIR | |
gem install twitter4r --no-rdoc --no-ri -v 0.3.2 -V | |
dumpgemmd5s 1 | |
gem uninstall twitter4r -aIx | |
dumpgemmd5s 2 | |
gem install twitter4r --no-rdoc --no-ri -v 0.3.2 -V | |
dumpgemmd5s 3 | |
ruby <<EOT | |
require 'rubygems' | |
require 'pp' | |
specs = Marshal.load(File.read("${GEMDIR}/specs/gems.rubyforge.org%80/specs.4.8")) | |
matches = specs.select {|x| x.first == "twitter4r"} | |
pp matches | |
EOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment