Can't install Ruby rvm on Ubuntu 16.04 due to gpg bug

后端 未结 6 2073
轻奢々
轻奢々 2021-01-31 05:21

I\'m trying to install Ruby on Ubuntu 16.04. However when I enter to following command to terminal:

$ \\curl -sSL https://get.rvm.io | bash -s stable --ruby
         


        
6条回答
  •  粉色の甜心
    2021-01-31 05:59

    After trying many ways. I did succeed to install rails as follows:

    $ \curl -sSL https://get.rvm.io | bash
    $ source /home//.rvm/scripts/rvm
    $ rvm -v
    $ rvm install ruby
    $ ruby -v
    $ sudo apt-get install rubygems
    $ gem update
    $ sudo apt-get install ruby-dev zlib1g-dev liblzma-dev build-essential patch
    $ rvm gemset list
    $ gem install rails
    $ rails -v
    

    Where "user" is my username

提交回复
热议问题