Forum: Ruby problems with archive-tar-external

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Bram Kuijper (Guest)
on 2007-08-01 02:58
(Received via mailing list)
Hi all,

as a ruby newbie I am trying to build a small script using Daniel
Berger's archive-tar-external package:

so I try to repeat the following example from the docs:

#!/usr/bin/env ruby -w
require 'rubygems'
require 'archive/tar_external'
Include Archive


however, ruby will give the following error:

tarfiles.rb:8: undefined method `Include' for main:Object

does anyone know what I'm doing wrong here?

Dan Z. (Guest)
on 2007-08-01 04:02
(Received via mailing list)
Bram Kuijper wrote:
> #!/usr/bin/env ruby -w
> require 'rubygems'
> require 'archive/tar_external'
> Include Archive
> ...
"include" has a lower case "i".
Bram Kuijper (Guest)
on 2007-08-01 13:13
(Received via mailing list)
guess I was quite tired. Thx!
This topic is locked and can not be replied to.