You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/lib/ruby/gems/3.3.0/gems/gitjour-6.6.0/lib/gitjour.rb:97:in `serve': undefined method `exists?' for class File (NoMethodError)
if File.exists?("#{path}/.git")
^^^^^^^^
Did you mean? exist?
from /usr/local/lib/ruby/gems/3.3.0/gems/gitjour-6.6.0/lib/gitjour.rb:24:in `run'
from /usr/local/lib/ruby/gems/3.3.0/gems/gitjour-6.6.0/bin/gitjour:9:in `<top (required)>'
from /usr/local/bin/gitjour:25:in `load'
from /usr/local/bin/gitjour:25:in `<main>'
With Ruby 3.3.0 I run into this error:
This is because File.exists? was replaced with File.exist? in 3.2.0: https://rubyreferences.github.io/rubychanges/3.2.html
The text was updated successfully, but these errors were encountered: