Ask A Question


You’re not receiving notifications from this thread.

Ruby Version Managers Discussion

Discussion for Ruby Version Managers
Tom de Bruijn Tom de Bruijn

Missing chruby in this list,

A really small ruby version manager which does nothing more than manage your ruby versions. Unlike rvm and rbenv it does not come with a ruby installer (rbenv uses ruby-build). You can use ruby-install by the same author for that. Together they make a really lightweight setup for your ruby version management.


Yes! I haven't chruby, but hear it's great. Thanks for including the link to that. I'm going to give it a shot soon on a setup and see how it goes.


What are some caveats in terms of when to install things with sudo and when not to? I use rbenv and occasionally seem to run into issues where I end up accidentally wrecking some of my ruby version installations because I use sudo while installing a gem here or there. Then when I go to bundle a new project it'll prompt me that I don't have access, but I know I also shouldn't bundle with the sudo command. Thanks for the great screencast!


With these version managers, you should never need to use sudo. The reason for this is that they install Ruby in your home directory so you own it. That means that installing gems, running bundler, and anything else all happens in your home directory as well. Since you own that folder, you won't be installing somewhere in the system and means that using sudo then would change the ownership to root and cause problems.


If I have rvm and rbenv installed will it cause errors when I work on my Rails application?

I've been getting a lot of errors recently because I have both installed...


I'd definitely just stick with one.


rvm implode

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 83,603+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.