screen can replace your PATH with something more limited. Inside the screen session, do echo $PATH . It should show the usual pre-saved RVM sandbox in your home directory.
If it is truncated, you will need to plunge into the documents or ... ask about the Unix and Linux SO sites or Superuser , as this question is quite off topic.
source share