zenhob / hcl

Command-line tool for manipulating Harvest timesheets
http://zenhob.github.io/hcl
MIT License
223 stars 45 forks source link

Error reading man page #75

Closed jklue closed 7 years ago

jklue commented 8 years ago

I just installed this gem successfully. I ran gem man hcl and get this response

fgets: Undefined error: 0
Error reading man page /Library/Ruby/Gems/2.0.0/gems/hcl-0.4.15/man/hcl.1
No manual entry for /Library/Ruby/Gems/2.0.0/gems/hcl-0.4.15/man/hcl.1

Am I doing something wrong? Thank you.

zenhob commented 7 years ago

:joy: I was using write.tap do ... end instead of write do ... end so the file wasn't actually being closed before the end of the job. Good catch, thank you! This will be fixed in the next release.