bash: /home/XXX/.rvm/scripts/rvm: No such file or directory

前端 未结 12 2109
南旧
南旧 2021-02-04 05:48

I just walk-through with the installation of Ruby on Rails on Ubuntu using RVM.

First I have logged in as the root user.

Then I started with the f

12条回答
  •  孤城傲影
    2021-02-04 06:25

    Your surest bet is to use home brew. Funny part is if you try brew upgrade ruby, you will have an error if brew wasn't used to install ruby in the first instance so use:

    $ brew install ruby
    

    Then afterwards use

    $ brew upgrade ruby
    

    You may need to close and reopen your terminal to see the effect of the upgrade by typing

    $ ruby -v
    

提交回复
热议问题