On Mon, Mar 17, 2025 at 10:51 PM Jesús Gómez <jgo...@gmail.com> wrote:

> Now rspec is failing for modern versions of Ruby (e.g. 3.3.5) because the
> method `File.exists?` doesn't exists.
>
> File `lib/rspec/core/ruby_project.rb` line 27 is trying to use it.
>

What version of RSpec are you using?

https://github.com/rspec/rspec/blob/rspec-core-v3.13.3/rspec-core/lib/rspec/core/ruby_project.rb#L25

        ascend_until { |path| File.exist?(File.join(path, dir)) }

This is like this since RSpec 3.0
https://github.com/rspec/rspec-core/commit/cedb4e133585ed5268b0bc61144f23232a7bdaaf,
a version that we highly recommend updating to.

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rspec+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/rspec/CAAk5Ok8GRQJWvqfAQvHmNErJhqJXwqwmM7F%2BtQ6_EO9yWGx87A%40mail.gmail.com.

Reply via email to