I found a very strange problem if I used wagon sync on linux systems. This problem causes the following error message when using bundle exec wagon sync <environment>:
# Error description:
invalid byte sequence in US-ASCII
I've found that the Tempfile is not running in binary mode as default! I don't know why this is the case, as it makes no sense in my opinion. You can read the following article for details:
I found a very strange problem if I used wagon sync on linux systems. This problem causes the following error message when using
bundle exec wagon sync <environment>
:I've found that the Tempfile is not running in binary mode as default! I don't know why this is the case, as it makes no sense in my opinion. You can read the following article for details:
http://vaidehijoshi.github.io/blog/2015/10/06/fleeting-filing-with-ruby-tempfile/
I've changed the call and .. voila .. it works now. :)
This "problem" seems to be linux related as it does not happen on a mac. You can use a ruby:2.6.3 docker container for testing.