Add RVM (ruby version manager) support

Change-Id: I1cf4f946657a12e0f0864e2af18ebdbc44989a11