cloudfoundry / cf-uaac

Apache License 2.0
41 stars 29 forks source link

Update deprecated File.exists? to File.exist? #121

Closed abg closed 1 year ago

abg commented 1 year ago

This issue was noticed in our CI when we had bumped our Ruby to the latest for some other component, but later had a build that ran the uaa cli fail.

$ uaac target TARGET --skip-ssl-validation
uaac error
NoMethodError: undefined method `exists?' for File:Class

Ruby 3.2.0 has removed File.exists?

https://github.com/ruby/ruby/pull/5352

cf-gitbot commented 1 year ago

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.