I installed Ruby 1.9.2 using homebrew, then installed RVM.
I want to point RVM to the version I have in my Cellar folder. How can I make rvm --default 1.9.1 point to the one in Cellar without having to reinstall it again using RVM?
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 can’t do it and get the right behavior.
RVM works within its own directory when running as a single-user’s sandbox. Any Ruby it controls will exist in your
~/.rvmdirectory.Anything outside of RVM’s control will be considered the
systemsetting, and it will be up to you to manage whether that is the regular Ruby installed in/usr/binor/usr/local/binor in/optor wherever.In my opinion, you should let RVM manage the Ruby installations. It is very slick and has rapidly become the favored way to manage Ruby development environments on Linux and Mac OS.
You could try creating aliases from the Cellar folder to the appropriate place in the
~/.rvm, but RVM modifies some things during its install process, such asgem, which would not be done in the Homebrew-installed folder, and would cause RVM’s gem support to break for that Ruby version.