Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File.exists? is now deprecated in Ruby, use File.exist? instead #121

Merged
merged 1 commit into from
Jun 17, 2014
Merged

File.exists? is now deprecated in Ruby, use File.exist? instead #121

merged 1 commit into from
Jun 17, 2014

Conversation

rsempe
Copy link
Contributor

@rsempe rsempe commented Jun 17, 2014

Hello,

File.exists is deprecated on recent versions of Ruby.
This commit removes some warnings when we load dotenv in a project.
warning: File.exists? is a deprecated name, use File.exist? instead

Here is the deprecation code in the Ruby repository:
https://github.com/ruby/ruby/blob/trunk/file.c#L1462

bkeepers added a commit that referenced this pull request Jun 17, 2014
File.exists? is now deprecated in Ruby, use File.exist? instead
@bkeepers bkeepers merged commit bbb1be2 into bkeepers:master Jun 17, 2014
@bkeepers
Copy link
Owner

👍 thanks!

sheax0r pushed a commit to sheax0r/dotenv that referenced this pull request Sep 13, 2015
File.exists? is now deprecated in Ruby, use File.exist? instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants