Thanks,Nobuyoshi. I wondered that also. However, If so, the behavior is different from ruby 2.1.1's document. Also, :preserve=>true or :perserve=>false makes no difference. Is it expected?wehu (Wei Hu)
`FileUtils.cp` will always preserve the permission of original files even if we passed `:preserve=>false`. I think the problem is because: ~~~diff < File.open(dest, 'wb') do |f| --- > File.open(dest, 'wb', s.stat...wehu (Wei Hu)
Below code will result into error: ~~~ super: no superclass method `foo' for #<Object:0x002b0430670fe8> ~~~ However, it can pass with Ruby 1.9 and I am not sure if it's feature changes or bug. ~~~ruby module A def foo ...wehu (Wei Hu)
Hi, Nakada, Thanks for your fix, but this still has problem. If we run my original example, it will result into: ~~~ B B B t.rb:9: stack level too deep (SystemStackError) ~~~ I think the difference is: in the original example...wehu (Wei Hu)
Below code will result into error: ~~~ super: no superclass method `foo' for #<Object:0x002b0430670fe8> ~~~ However, it can pass with Ruby 1.9 and I am not sure if it's feature changes or bug. ~~~ruby module A def foo ...wehu (Wei Hu)