Issue #8547 has been updated by k0kubun (Takashi Kokubun).

Status changed from Feedback to Third Party's Issue
Backport deleted (1.9.3: DONTNEED, 2.0.0: REQUIRED)

It seems that original issue is resolved https://github.com/gurgeous/teleport/issues/22.

----------------------------------------
Bug #8547: FileUtils.chmod("a+r", "foobar", verbose: true) crashes
https://bugs.ruby-lang.org/issues/8547#change-64836

* Author: gurgeous (Adam Doppelt)
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.0.0p195
* Backport: 
----------------------------------------
To reproduce in IRB:

>> require "fileutils" ; FileUtils.chmod("a+r", "foobar", verbose: true)

Here's the stack:

NoMethodError: undefined method `mode_to_s' for FileUtils:Module
	from ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/fileutils.rb:970:in `chmod'

This ONLY crashes with :verbose. If you leave off :verbose it skips the call to mode_to_s, so there's no crash.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>