Updating rvm ruined my whole environment because I ran get head instead of get stable

Let me pose this question what happens in zsh.

I updated rvm to version 1.15.8. I did a permutation of all rubies. Also set the gems back in pristine conditions. Here is a list of the problems I encountered:

# 1.8.7 no longer compiles because it # Going to a project directory that contains a .rvmrc file now causes this: __rvm_remove_from_path:11: failed to compile regex: invalid character range __rvm_remove_from_path:11: failed to compile regex: invalid character range __rvm_remove_from_path:11: failed to compile regex: invalid character range __rvm_remove_from_path:11: failed to compile regex: invalid character range __rvm_remove_from_path:11: failed to compile regex: invalid character range __rvm_remove_from_path:11: failed to compile regex: invalid character range ... for thousands of lines with no end. # Typing "rvm use 1.9.4-p194@mygemset " yields the same result as above. # And my favorite: bundle install Tells me I need to install gem bundler' I do it. bundle install Still tells me I need to install gem bundler! 

I would like to know how to return to the previous version of rvm. This is a real problem as I have a deadline. I usually donโ€™t even update rvm to avoid these environmental issues, but I followed the directions to get it working with Textmate.

Someone please help.

UPDATE AFTER ANSWER:

2 things.

1) I ran "rvm get head" instead of "rvm get stable". Cut and paste fails.

2) I figured out the question 1.8.7. I ran:

 brew install tcl 

and

 brew install tk 

I also changed the ownership of all things under $ HOME / .rvm to be mine. Make sure X11 is installed. Then ran:

 rvm remove 1.8.7-p352 

and

 rvm install 1.8.7-p352 

Worked like a charm!

+4
source share
1 answer

I ran into the same problem.

This should install the previous version.

 rvm get 1.15.7 

here is the problem with github https://github.com/wayneeseguin/rvm/issues/1095

+5
source

Source: https://habr.com/ru/post/1433284/


All Articles