Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Deprecated File.exists?('Gemfile') #7

@wscourge

Description

@wscourge

Running bundle-outdated, I get the following:

bundle-outdated                                                                                     2s
Finding outdated gems..
/Users/me/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/bundle_outdated-0.0.4/lib/bundle_outdated/searcher.rb:39:in `gemfile': undefined method `exists?' for File:Class (NoMethodError)

      unless File.exists?('Gemfile')
                 ^^^^^^^^
Did you mean?  exist?
	from /Users/me/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/bundle_outdated-0.0.4/lib/bundle_outdated/searcher.rb:47:in `all_gems'
	from /Users/me/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/bundle_outdated-0.0.4/lib/bundle_outdated/searcher.rb:31:in `outdated_gems'
	from /Users/me/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/bundle_outdated-0.0.4/lib/bundle_outdated/searcher.rb:8:in `search!'
	from /Users/me/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/bundle_outdated-0.0.4/lib/bundle_outdated.rb:7:in `search!'
	from /Users/me/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/bundle_outdated-0.0.4/bin/bundle-outdated:23:in `<top (required)>'
	from /Users/me/.rbenv/versions/3.2.1/bin/bundle-outdated:25:in `load'
	from /Users/me/.rbenv/versions/3.2.1/bin/bundle-outdated:25:in `<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions