Let us say there are two gems
A ( depends on gem C version 2)
B ( depends on gem C version 1)
My rails application requires gem A, and B.
How do you handle the collision of two versions of the gem C while loading A and B.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t. RubyGems can install multiple versions of the same Gem, but it only can ever activate one. That’s one of the reasons why Bundler was created: it will at least check for such an incompatibility before you run the app.