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

前端 未结 12 2113
南旧
南旧 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:43

    Can you use sudo find to locate the correct path of the rvm directory? If you find the path, you should be able to rerun the source ~/.rvm/scripts/rvm command with the correct path.

    Also, I fully agree with the previous answers about not creating it as root. DigitalOcean was a pretty good tutorial on adding users https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04

提交回复
热议问题