invoker
invoker copied to clipboard
Setup command fails on ruby 3.2.2
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?
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