Being somewhat familiar with rvm, has the gem binary been (sym)linked to the version of ruby deployed with rvm? Alternatively, you can probably set the executable attribute to point to an explicit path of the gem binary (as opposed to defaulting to /bin/gem)
-- ---
Rilindo Foster - DevOps
NextCapital Group, Inc.
104 S. Michigan Avenue, Suite 1400
Chicago, IL 60603-5958
NextCapital is a subsidiary of Goldman Sachs Asset Management and part of The Goldman Sachs Group, Inc. All rights reserved.See
http://www.gs.com/disclaimer/global_email for important risk disclosures, conflicts of interest and other terms and conditions relating to this e-mail and your reliance on information contained in it. This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See
http://www.gs.com/disclaimer/email for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you.