Skip to main content

Ruby Version Managers Discussion

General • Asked by Chris Oliver

Missing chruby in this list, https://github.com/postmode...

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 https://github.com/postmode... 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.

I see. Thanks for the clarification.


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.

How do you uninstall one?


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.