Skip to content

Instantly share code, notes, and snippets.

@burke
Created February 9, 2009 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burke/61063 to your computer and use it in GitHub Desktop.
Save burke/61063 to your computer and use it in GitHub Desktop.
irb(main):001:0> require 'archive/tar'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar/reader.rb:17: warning: else without rescue is useless
SyntaxError: /opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar/reader.rb:15: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when IO: parse(@source, full); @source.rewind
^
/opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar/reader.rb:34: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when :file: File.open(path, 'w') { |fio| fio.write(body) }
^
/opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar/reader.rb:35: syntax error, unexpected keyword_when, expecting keyword_end
when :directory: FileUtils.mkdir(path)
^
/opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar/reader.rb:36: syntax error, unexpected keyword_when, expecting keyword_end
when :link: File.link( File...
^
/opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar/reader.rb:37: syntax error, unexpected keyword_when, expecting keyword_end
when :symlink: File.symlink( header[:dest], path )
^
/opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar/reader.rb:45: syntax error, unexpected keyword_end, expecting $end
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar.rb:108:in `require'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/archive-tar-0.9.0/lib/archive/tar.rb:108:in `<top (required)>'
from (irb):1:in `require'
from (irb):1
from /opt/local/bin/irb1.9:12:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment