Open curzolapierre opened 1 year ago
It's also not compatible with 3.1.x. See #1234
Hi @curzolapierre & @SleeplessByte, I had the same issue while upgrading to Ruby >= 3.1.x, since it's a small scale app, the fix was to change the Gitlab deployment to Scalingo by linking the Gitlab repo to Scalingo instead of using a deploy pipeline stage. It will automatically add a new step in your pipeline as illustrated below:
You can find more information about it here: https://doc.scalingo.com/platform/deployment/deploy-with-gitlab
From the new ruby release (3.2.0),
Dir.exists?
andFile.exists?
have been removed.So exists? method is not working anymore.
Example:
From ruby doc
File.exist?
should be used instead.