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

Setup command fails on ruby 3.2.2 #246

Open
arrrnas opened this issue Jul 28, 2023 · 1 comment
Open

Setup command fails on ruby 3.2.2 #246

arrrnas opened this issue Jul 28, 2023 · 1 comment

Comments

@arrrnas
Copy link

arrrnas commented Jul 28, 2023

How to reproduce:

bundle exec invoker setup
bundler: failed to load command: invoker (/Users/arnas/.rbenv/versions/3.2.2/bin/invoker)
/Users/arnas/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/invoker-1.5.8/lib/invoker/power/setup.rb:59:in `check_if_setup_can_run?': undefined method `exists?' for File:Class (NoMethodError)

        !File.exists?(Invoker::Power::Config.config_file)
             ^^^^^^^^
Did you mean?  exist?
@jbrodie
Copy link
Contributor

jbrodie commented Apr 2, 2024

This is tied to the removal of the deprecation of exists? in favor of exist?.

Someone has a branch cut with this patched in it, but unless this gem is patched, it will not work beyond Ruby 3.1

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

2 participants