Does anyone know if it’s ok to uninstall all system gems after installing RVM and if I’m using only gemsets for each project?
I’d like to just get rid of some of the extra stuff lying around on my system.
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 say what OS you are on, but if you are on Mac OS, you need to exercise some care removing gems from the system.
Apple installs Ruby for their own use, not because they are benevolent and doing it as a convenience for the user. We can piggyback on that installed version, with awareness that we could break Apple’s functionality.
Run
find /usr -type f -name '*.rb'for a list of the Apple application code that relies on the pre-installed Ruby. Analyze those files to determine what gems are required.Or, don’t worry if the gems are there. A Ruby running under control of RVM won’t see the gems used by /usr/bin/ruby so there is no chance of a conflict; That’s the whole point of RVM.