How do I change my Ruby version using RVM?

前端 未结 13 1122
我寻月下人不归
我寻月下人不归 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:50

    (Kubuntu 11.10) The ~/.bash_profile is now called ~/.profile

    echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.profile
    source ~/.profile
    rvm info # And now the fields display
    
    0 讨论(0)
提交回复
热议问题