Trying to deploy and getting this as output. Deploy script works fine with a 22.04 server I have, but migrating to a new server and seeing the following errors.
-----> Installing gem dependencies using Bundler
$ ruby -S bundle install --without development test --path "vendor/bundle" --deployment
/snap/bin/bundle: /snap/bin/bundle:1: Invalid char \x7F' in expression (SyntaxError) /snap/bin/bundle:1: Invalid char\x02' in expression
/snap/bin/bundle:1: Invalid char \x01' in expression /snap/bin/bundle:1: Invalid char\x01' in expression
! ERROR: Deploy failed.
Deploying to an Ubuntu 24.04 machine:
Trying to deploy and getting this as output. Deploy script works fine with a 22.04 server I have, but migrating to a new server and seeing the following errors.
-----> Installing gem dependencies using Bundler $ ruby -S bundle install --without development test --path "vendor/bundle" --deployment /snap/bin/bundle: /snap/bin/bundle:1: Invalid char
\x7F' in expression (SyntaxError) /snap/bin/bundle:1: Invalid char
\x02' in expression /snap/bin/bundle:1: Invalid char\x01' in expression /snap/bin/bundle:1: Invalid char
\x01' in expression ! ERROR: Deploy failed.