burns/backup — comment on commit d1db9989216407582dd707b35013c802d83f223f
File:  line 0
By meskyanichi:

Not sure what issues you ran in to, but I'm not having any issues with these `gem` methods in place. I actually need them to ensure the correct versions of these gems are being loaded, especially POpen4 because there are two libraries called POpen4:

* popen4 (we no longer use this, it includes c-extensions and it's older and used less)
* POpen4 (we recently switched to this, because it's newer and 100% Ruby, and Backup is being added to FreeBSD ports and needed this as well)

The problem is that both libraries are included like so: `require "popen4"` and in the event that the user has both POpen4 and popen4 gems installed, it might pick the old `popen4` instead of the new `POpen4`. This is why we use the `gem` method here to target the proper library.

What wasn't working for you when you had these `gem` methods in place?