Open vkotovv opened 10 years ago
I wouldn't go as far as requiring 1.8.7, I run fdoc in 1.9.3 all the time, have not hit this issue.
Maybe we're missing some encoding comments or something. Do you have a small version of your .fdoc
files that can help reproduce this error?
You can find small sample in this commit. I just checked, it works with Ruby 1.8.7, but is not working with 2.0.
Also, you can take a look at this merged pull request. Because the content of the sample is in Russian, maybe its not just a matter of changing charset for template files in Ruby >= 2.0. I'm not a Ruby expert though.
We tried to run fdoc on a machine with Ruby 2.0 and it failed with the following stack trace. Then it worked with Ruby 1.8.7 installed. Maybe it should be explicitly stated that you should use Ruby < 2.0 to run fdoc.