Hi Artur, thanks for the gist!
I wanted also to set the default ruby after all, i.e. rvm --default use ruby-X.Y.Z. The command did not fail but no default ruby was set and the RVM suggested to use a login shell thing for the invocation, i.e. /bin/bash --login...
rvm --default use ruby-X.Y.Z
No matter what I tried to do I could not manage it to work properly. If you were to set default ruby, how would you do that?