pieter michels

Github    Ask me anything   

January 23, 2012 at 8:34pm

Home

RVM loses default Ruby version when starting new shell

I recently installed a new Ruby version on a server using RVM. To make sure your new ruby installation will be used by default, you have to invoke the follow command:

(I already blogged about this)

But now, my server kept forgetting this and each time I ssh’ed to the server (and thus starting a new shell) I was back at the default system Ruby version.

It seems you can repair your RVM environments (I didn’t know I broke something in the first place?):

Notes

  1. pieterm posted this