Using RVM, but can't set current Ruby version (Ubuntu 11.10)

后端 未结 4 640
时光取名叫无心
时光取名叫无心 2021-02-08 23:13

I have recently installed RVM on a fresh install of Ubuntu 11.10 and can not work out how to start using a particular ruby version.

I have installed Ruby 1.8.7 and 1.9.2

4条回答
  •  误落风尘
    2021-02-08 23:47

    Like tass suggested you obviously have a different rvm directory then $HOME/.rvm so

    [[ -s "/usr/share/ruby-rvm/scripts/rvm" ]] && . "/usr/share/ruby-rvm/scripts/rvm"
    

    is probably what you would to use instead

提交回复
热议问题