/gist:791f92b770205495411a Secret
Created
February 5, 2010 03:36
Star
You must be signed in to star a gist
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