RVM and Sdkman are very useful tools to manage and work with multiple Ruby/Groovy environments. After installing both of them want to add some lines into the dotfile(.bashrc/.zshrc) and make the lines at the end of this file, which is impossible, however.
After some testing, here is what I did to make both of them work.
1 | ... |