Skip to content

smart-pull broken on Ruby 3.2.0 and later #37

@kevwil

Description

@kevwil
/Users/keviwill/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/git-smart-0.1.11/lib/git-smart/git_repo.rb:23:in `git_dir': undefined method `exists?' for File:Class (NoMethodError)

    unless File.exists?(gitdir)
               ^^^^^^^^
Did you mean?  exist?
        from /Users/keviwill/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/git-smart-0.1.11/lib/git-smart/git_repo.rb:9:in `initialize'
        from /Users/keviwill/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/git-smart-0.1.11/lib/git-smart/git_smart.rb:21:in `new'
        from /Users/keviwill/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/git-smart-0.1.11/lib/git-smart/git_smart.rb:21:in `block in register'
        from /Users/keviwill/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/git-smart-0.1.11/lib/git-smart/git_smart.rb:6:in `run'
        from /Users/keviwill/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/git-smart-0.1.11/bin/git-smart-pull:7:in `<top (required)>'
        from /Users/keviwill/.rbenv/versions/3.2.1/bin/git-smart-pull:25:in `load'
        from /Users/keviwill/.rbenv/versions/3.2.1/bin/git-smart-pull:25:in `<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions