Skip to content

DPL seems not compatible with ruby 3.2.0 #1268

Open
@curzolapierre

Description

From the new ruby release (3.2.0), Dir.exists? and File.exists? have been removed.

So exists? method is not working anymore.

Example:

➜ dpl --provider=scalingo --app=$SCALINGO_APP_NAME --api-token=$SCALINGO_API_TOKEN --region=$SCALINGO_REGION --branch=refs/heads/master
Support for deployments to Scalingo is in **alpha**. Please see [Maturity Levels](https://github.com/travis-ci/dpl/#maturity-levels) for details.
$ timeout 60 ./scalingo keys-remove dpl_tmp_key
timeout: failed to run command './scalingo': No such file or directory
Failed to remove the ssh key.

From ruby doc File.exist? should be used instead.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions