RVM is not working over SSH

前端 未结 10 1550
时光取名叫无心
时光取名叫无心 2020-12-25 13:05

RVM is not working over SSH.

At the command-line:

leifg@host:~$ which ruby
/usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby

Connected

10条回答
  •  自闭症患者
    2020-12-25 13:32

    I've just added at the top of ~/.bashrc (for git user) this string:

    [[ -s "/usr/local/rvm/scripts/rvm" ]] && source "/usr/local/rvm/scripts/rvm"
    

提交回复
热议问题