seuros / capistrano-sidekiq

Sidekiq integration for Capistrano
Other
557 stars 307 forks source link

invalid multibyte char #303

Closed bart3r closed 2 years ago

bart3r commented 2 years ago

Any idea why we one of our users is getting the following error:

docker@4891b4ae3388:/rails$ cap deploy production
(Backtrace restricted to imported tasks)
cap aborted!
SyntaxError: /usr/share/rvm/gems/ruby-2.7.2@myapp/gems/capistrano-sidekiq-2.2.0/lib/capistrano/tasks/systemd.rake:53: invalid multibyte char (US-ASCII)
/usr/share/rvm/gems/ruby-2.7.2@myapp/gems/capistrano-sidekiq-2.2.0/lib/capistrano/tasks/systemd.rake:53: invalid multibyte char (US-ASCII)
/usr/share/rvm/gems/ruby-2.7.2@myapp/gems/capistrano-sidekiq-2.2.0/lib/capistrano/tasks/systemd.rake:53: invalid multibyte char (US-ASCII)
/usr/share/rvm/gems/ruby-2.7.2@myapp/gems/capistrano-sidekiq-2.2.0/lib/capistrano/tasks/systemd.rake:55: invalid multibyte char (US-ASCII)
/usr/share/rvm/gems/ruby-2.7.2@myapp/gems/capistrano-sidekiq-2.2.0/lib/capistrano/tasks/systemd.rake:55: invalid multibyte char (US-ASCII)
/usr/share/rvm/gems/ruby-2.7.2@myapp/gems/capistrano-sidekiq-2.2.0/lib/capistrano/tasks/systemd.rake:55: invalid multibyte char (US-ASCII)
/rails/capfile:42:in `<top (required)>'
(See full trace by running task with --trace)

As you can see we are using ruby 2.7.2 and the latest version of the capistrano-sidekiq gem

seuros commented 2 years ago

I can't reproduce this.