Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
problems with archive-tar-external
Bram Kuijper
7/31/2007 10:58:00 PM
Hi all,
as a ruby newbie I am trying to build a small script using Daniel
Berger's archive-tar-external package:
http://rubyforge.org/projec...
so I try to repeat the following example from the docs:
http://rubyforge.org/docman/view.php/735/518/archive-tar-ext...
#!/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 (NoMethodError)
does anyone know what I'm doing wrong here?
thanks,
Bram
2 Answers
Dan Zwell
8/1/2007 12:02:00 AM
0
Bram Kuijper wrote:
> #!/usr/bin/env ruby -w
> require 'rubygems'
> require 'archive/tar_external'
> Include Archive
>
> ...
"include" has a lower case "i".
Bram Kuijper
8/1/2007 9:12:00 AM
0
guess I was quite tired. Thx!
Dan Zwell wrote:
> Bram Kuijper wrote:
>> #!/usr/bin/env ruby -w
>> require 'rubygems'
>> require 'archive/tar_external'
>> Include Archive
>>
>> ...
> "include" has a lower case "i".
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
problems with archive-tar-external
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password