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

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

    Alright so when you get a failure message "No such file or directory", type

    \curl -L https://get.rvm.io | bash -s stable
    

    in your terminal. There will be a GPG signature verification failure. Bellow that failure there would be a link for github and a key something like this

    gpg2 --recv-keys 409B6B...
    

    So download a tar file from the github link and run this code to install GPG:

    sudo apt install gnupg2
    

    and run that key :

    gpg2 --recv-keys 409B6B...
    

    next run the code:

    \curl -L https://get.rvm.io | bash -s stable
    

    it will show you installing the rvm and then you can run:

    source ~/.rvm/scripts/rvm
    

    thats it you are good to go

提交回复
热议问题