/home/travis/.casher/bin/casher:206:in `tar': undefined method `delete_if' for #<String:0x0000000000e649c0> (NoMethodError)

I am getting the following strange error:

/home/travis/.casher/bin/casher:54: warning: constant ::TimeoutError is deprecated
/home/travis/.casher/bin/casher:206:in `tar': undefined method `delete_if' for #<String:0x0000000000e649c0> (NoMethodError)
Did you mean?  delete
               delete!
	from /home/travis/.casher/bin/casher:137:in `push'
	from /home/travis/.casher/bin/casher:53:in `block in run'
	from /home/travis/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/timeout.rb:93:in `block in timeout'
	from /home/travis/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/timeout.rb:33:in `block in catch'
	from /home/travis/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/timeout.rb:33:in `catch'
	from /home/travis/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/timeout.rb:33:in `catch'
	from /home/travis/.rvm/rubies/ruby-2.4.5/lib/ruby/2.4.0/timeout.rb:108:in `timeout'
	from /home/travis/.casher/bin/casher:53:in `run'
	from /home/travis/.casher/bin/casher:263:in `<main>'
e[31;1mFAILED: sudo tar -Pzcf /home/travis/.casher/push.tgz e[0m

any advice?

full log: https://travis-ci.com/bincrafters/conan-freetype/jobs/165366108

Thanks for the report. Fixed by https://github.com/travis-ci/casher/commit/02c9572b3313eccdf71c4d62fe23eef4bccf0b95.

@BanzaiMan thanks for the fix. I still see the issue happening, probably it’s not deployed yet?

Could you point to a new failure, please?

https://travis-ci.com/bincrafters/conan-freetype/jobs/165366107

Please restart the jobs. Thanks.