How do I change my Ruby version using RVM?

前端 未结 13 1183
我寻月下人不归
我寻月下人不归 2020-12-02 04:49

I am not able to switch the current Ruby version:

➜  ~  rvm list

rvm rubies

   ruby-1.9.2-p290 [ x86_64 ]
   ruby-1.9.3-p0 [ x86_64 ]

➜  ~  rvm use ruby-1         


        
13条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 05:36

    To Change the Default Version of ruby:

    In Ubuntu 11.10
    please change your GNOME terminal setting :

    Go to Terminal and then follow the following instructions:

    1.  Edit > Profile Preferences
    2.  Open Title and Command Tab               
    3.  Check Run Command as a login Shell 
    4.  Restart terminal
    

    Run this command on terminal:

    rvm --default use ruby_Version
    

提交回复
热议问题