terminate called after throwing an instance of 'std::length_error'
what(): basic_string::append
Aborted
How to reproduce:
require 'archive'
archive = Archive.new('test.tar.xz')
files_to_add = Dir['*/']
The above works
now add it
archive << files_to_add
^^^ leads to the above error; perhaps the error message can be improved as well?