Borrow RVM module from E. Sharp's post