Skip to content

Released Version 4.1.0 still uses removed method File.exists? #328

@the-teacher

Description

@the-teacher

ruby 3.2.0 (2022-12-25 revision a528908271) [aarch64-linux]

/usr/local/bundle/gems/config-4.1.0/lib/generators/config/install_generator.rb:21:in
`modify_gitignore': undefined method `exists?' for File:Class (NoMethodError)

create_file '.gitignore' unless File.exists? '.gitignore'

Installing via github solves the problem.

gem 'config', "4.1.0", github: 'rubyconfig/config'

Please release a new version of the code. Thank you!

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