Question

Will Rbenv conflict with pre-installed rvm on droplet?

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


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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/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: