For some time, xml-simple gem had been working for me just fine (indirectly, through another gem).
But lately I had to install Amazon S3 gem also. Amazon guys had decided that xml-simple wasn't cool enough, so they supplied a replacement: 'faster-xml-simple'. And they also decided that everybody wants to use their code now, so they did this:
class XmlSimple # :nodoc:
def self.xml_in(*args)
FasterXmlSimple.xml_in *args
end
end
But two gems largely differ in behaviour and options. And now, each time I call XmlSimple.xml_in
, I go to Amazon's version.
Is there a way to stop gem A (amazon S3) from overriding methods of gem B (xml-simple)? Or make Amazon's changes seen only to Amazon's gems? E.g., when deployed on Heroku, it all works just fine.
Thanks!