How to avoid the source being overwritten when compiling a Gem?
问题 I am trying to install eventmachine Gem, however a line needs to be commented out in the source for this to work on Ruby 2.0 on Windows x64. I have tried modifying the Gem source in the Ruby build folder but each time I run gem install eventmachine it overwrites my changes. From the command line help there does not appear to be a way to rebuild the gem without unpacking fresh source, however there may be a workaround. Is there a way to build my slightly tweaked source for this Gem? 回答1: Don't