A fairly well known issue arising with Ruby 2.0+ When trying to CTRL-C out of the server running the docs you get: ^Clog writing failed. can't be called from trap context