Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Compatibility with Ruby 3.2.2 #67

Open
geoffswift opened this issue May 24, 2023 · 2 comments
Open

Compatibility with Ruby 3.2.2 #67

geoffswift opened this issue May 24, 2023 · 2 comments

Comments

@geoffswift
Copy link

There seems to be a bug with the sauce_whisk gem against Ruby 3.2.2. When I tried it out it crashes like so...
/usr/local/rvm/gems/ruby-3.2.2/gems/sauce_whisk-0.3.2/lib/sauce_whisk.rb:144:in block in load_options_from_yaml': undefined method exists?' for File:Class (NoMethodError)

if File.exists? path

This article suggests it's a problem with backwards compatibility in Ruby 3.2
https://stackoverflow.com/questions/14351272/undefined-method-exists-for-fileclass-nomethoderror

@david-lake
Copy link

I am having the same issue anyone working on a fix?

@titusfortner
Copy link
Contributor

Unfortunately we do not have resources to update and maintain this repo, and we will likely be archiving it soon. Sorry for the inconvenience involved.

In the meantime you could monkey patch File to have #exists? alias #exist?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants