GemRequirement: Not using the version that was given
@AbdealiJK opened this issue on Github on 3 Sep 2016:
GemRequirement has a version argument, but doesn't use it. It just installs the latest version of the gem currently
def is_installed(self):
"""
Checks if the dependency is installed.
:param return: True if dependency is installed, false otherwise.
"""
cmd = ['gem', 'list', '-i', self.package]
if platform.system() == 'Windows': # pragma: no cover
cmd = ['cmd', '/c'] + cmd
return not call_without_output(cmd)