Ask A Question

Notifications

You’re not receiving notifications from this thread.

Manage multiple rails project with different versions of rails and ruby | RVM vs Rbenv | Bundler

usama akram asked in Rails

I am new to rails so I have a lot to ask and I find out there is a huge debate on ruby version managers i.e RVM and Rbenv, and there is a bundler too. Now all the articles I have read are old and the more I read about it the more it gets confusing. Now I cannot decide which one is better and which one to use. RVM provides gemsets, but the gemsets take storage space and are difficult to maintain. while on the other hand Rbenv is lightweight but doesn't support gemsets.
I have read that the community moved to use bundler now.
Now the question is how multiple versions and gem dependencies are handled in Rbenv. and how bundler helps in this effect. using Rbenv how can I create a new project of rails with a different version.

it will be a huge help if someone guides me step by step

Reply
Join the discussion
Create an account Log in

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

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

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