Skip to content

Does not work on ruby version >= 2.2 File.exists? is deprecated. #66

@jward7

Description

@jward7

Does not work on ruby version >= 2.2 File.exists? deprecated. File.exist? should work.

❯ rake maintenance:start
(in /Users/jward/programming/projects/finance/trade)
rake aborted!
NoMethodError: undefined method `exists?' for class File (NoMethodError)

  File.exists? path
      ^^^^^^^^

Did you mean? exist?

Tasks: TOP => maintenance:start
(See full trace by running task with --trace)

Metadata

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