Is there a ruby gem/library that can extra .tbz
files?
This will specifically be within a Rails app, if that's relevant.
I've aware of Rubyzip for .zip
files, but haven't found a way to extract .tbz
files.
Is there a ruby gem/library that can extra .tbz
files?
This will specifically be within a Rails app, if that's relevant.
I've aware of Rubyzip for .zip
files, but haven't found a way to extract .tbz
files.
Have you tried the bzip2-ruby gem for decompressing it to a tar?
You can then use archive-tar-minitar to untar it.
In the subject, you ask about downloading -- but you don't repeat that in your actual question. Here's a question about downloading within a Ruby script.