RVM settings lost after every logout

前端 未结 2 1470
执笔经年
执笔经年 2021-01-14 10:40

I installed ruby, rails and gemsets using RVM on ubuntu as instructed on : http://railstutorial.org/ruby-on-rails-tutorial-book#sec:rubygems

Now the problem is t

2条回答
  •  猫巷女王i
    2021-01-14 11:41

    Are you sourcing $HOME/.rvm/scripts/rvm into your shell in its .profile or whatever setup?

    That would be the first thing to check.

    Add this line:

    source $HOME/.rvm/scripts/rvm
    

提交回复
热议问题