conflicting ruby gems
问题 I need to use two gems in my project that both claim the PDF namespace: pdf-reader and htmldoc. Is there any way to get them to play nice together? The only way I can think of is to rewrite my own version of htmldoc to give it a different namespace. 回答1: There's probably no elegant solution to the problem. If you really need the two gems working side by side I think your best option is to fork one of them (or possibly both) and use your fork. This is how I'd go about it: If either gem is