Will Rbenv conflict with pre-installed rvm on droplet?


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?



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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:

  1. rvm implode

You may also need to delete /etc/profile.d/ 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: