Fixed installing gems from .gem files.