codegram / spinach

Spinach is a BDD framework on top of Gherkin.
codegram.github.com/spinach
MIT License
581 stars 69 forks source link

Enable Support For Ruby v3.2 #241

Closed lym closed 1 year ago

lym commented 1 year ago

🦄 Feature Request

Is your feature request related to a problem?

I get a NoMethodError error when I try running spinach against the latest Ruby version (v3.2). This is because at this line, spinach references the File.exists? method. This method was obsoleted by Ruby v3.2. Please see here.

Describe the solution you'd like

Updating the line referenced above to File.exist? solves the problem for me and I am able to use spinach with the latest Ruby version.

oriolgual commented 1 year ago

Fixed at #243