Skip to content

Instantly share code, notes, and snippets.

@hone
Created December 30, 2010 04:05
Show Gist options
  • Save hone/759437 to your computer and use it in GitHub Desktop.
Save hone/759437 to your computer and use it in GitHub Desktop.
$ time ruby die.rb
[Wed Dec 29 22:04:56 -0600 2010, 1]
die.rb:15:in `initialize': not in gzip format (Zlib::GzipFile::Error)
from die.rb:15:in `new_orig'
from die.rb:15:in `new'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:49:in `initialize'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:64:in `each'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:55:in `loop'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:55:in `each'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:32:in `initialize'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:17:in `new'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:17:in `open'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/package.rb:58:in `open'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/format.rb:63:in `from_io'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/format.rb:51:in `from_file_by_path'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/format.rb:50:in `open'
from /home/hone/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/format.rb:50:in `from_file_by_path'
from die.rb:23:in `parse_gem'
from die.rb:27
from die.rb:25:in `times'
from die.rb:25
real 0m0.386s
user 0m0.360s
sys 0m0.020s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment