Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a problem with bash currently. I have Ubuntu 10.04 installed on a server I ssh into to do Rails development and something happened and now I am unable to use RVM as it is installed. The error I get is "bash: ZSH_VERSION: unbound variable" when I try to run the 'rvm' command. Any thoughts?

Thanks!

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Try entering the command zsh before you enter whatever you enter to use RVM.

share|improve this answer
    
That works to let me use RVM again, thanks! Why is it doing that though? I gotta work out a conflict because apparently somebody reinstalled another version of Ruby outside of RVM on this as well... –  Ben Jun 10 '13 at 0:45
    
The reason I thought saying zsh might help is that it looked like the "login shell" of your account on the Ubuntu box got switched from zsh to bash. You can avoid the need to say zsh every time you ssh into the Ubuntu box by changing your login shell with the chpass command. Specifically, chpass -s /bin/zsh. If that does not work, it is chpass -s /usr/bin/zsh. Don't know about the other version of Ruby. –  hruvulum Jun 10 '13 at 0:56
    
Try adding your explanation in the comment into the answer its self, it'll be easier for other people to spot in the future –  ekaj Jun 10 '13 at 3:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.