Hi,
I’m concern there may be problems if I install rbenv when I already have the pre-installed rvm on my droplet.
I’m following a tutorial to set by env variables using rbenv-vars plugin.
Could you please advise?
Thanks
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Yes. Rbenv and rvm should not be used together. They will both attempt to manage your Ruby environment in ways that are incompatible with each other.
To uninstall rvm completely, you can run:
You may also need to delete
/etc/profile.d/rvm.sh
or any snippets added to your~/.bashrc
file.If you’d like to create an environment that is similar to the one provided by the DigitalOcean One-Click app using rbenv instead of rvm, this tutorial will walk you through the process: