Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smart-pull broken on Ruby 3.2.0 and later #37

Open
kevwil opened this issue Mar 7, 2023 · 0 comments
Open

smart-pull broken on Ruby 3.2.0 and later #37

kevwil opened this issue Mar 7, 2023 · 0 comments

Comments

@kevwil
Copy link

kevwil commented Mar 7, 2023

/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>'
kevwil pushed a commit to kevwil/git-smart that referenced this issue Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant