We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
$ cat stat.rb f = File.open('access_log', 'w') system 'mv', 'access_log', 'accesslog.1' puts "f.stat.file? #{f.stat.file?}"
$ rvm use ruby-1.9.3-p392 $ ruby stat.rb f.stat.file? true
$ rvm use jruby-1.7.19 $ ruby stat.rb Errno::ENOENT: No such file or directory - access_log stat at org/jruby/RubyFile.java:471 (root) at stat.rb:3
Is there any other way to determine if a moved file is a file?
The text was updated successfully, but these errors were encountered:
This works on 9k and 1.7.x is EOL so we will never fix it there. Resolving as WONTFIX.
Sorry, something went wrong.
No branches or pull requests
$ cat stat.rb
f = File.open('access_log', 'w')
system 'mv', 'access_log', 'accesslog.1'
puts "f.stat.file? #{f.stat.file?}"
$ rvm use ruby-1.9.3-p392
$ ruby stat.rb
f.stat.file? true
$ rvm use jruby-1.7.19
$ ruby stat.rb
Errno::ENOENT: No such file or directory - access_log
stat at org/jruby/RubyFile.java:471
(root) at stat.rb:3
Is there any other way to determine if a moved file is a file?
The text was updated successfully, but these errors were encountered: