Support for the Ruby 2.2 series has ended. See here for reference.
ePKeyError
Generic exception that is raised if an operation on an RSA PKey fails unexpectedly or in case an instantiation of an instance of RSA fails due to non-conformant input data.