How can I change Ruby to version 1.9.3 (again) with RVM?

孤人 提交于 2019-11-30 22:35:38
Akshay Vishnoi

You are not in the login shell. To enter the login shell try this command:

/bin/bash --login

After that you will be able to use RVM to select Ruby.

Also, there is permanent way, that you won't have to write this line everytime you open your terminal. Try this:

Edit menu -> Profile Preferences 

A dialog will appear, now select Run command in login shell.

After that, whenever you open your terminal, you will enter into the login shell, and you will be able to use RVM.

There is another way, you can write /bin/bash --login in your .bash_profile which will load every time when you reboot.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!