Subject: Step 1 -- Install RVM, the Ruby Version Manager
Author: Linux
In response to: How to Install Ruby on Ubuntu 16.04 LTS
Posted on: 09/06/2017 01:19:22 AM
Firstly request the public key to verify the legitimacy of the RVM release we will be downloading, which is signed with the matching private key. To do this run this command.
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
Then the script to get RVM
curl -sSL https://get.rvm.io | bash -s stable
Downloading https://github.com/rvm/rvm/archive/1.29.2.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.2/1.29.2.tar.gz.asc
gpg: Signature made Thu 22 Jun 2017 09:18:38 AM PDT using RSA key ID BF04FF17
gpg: Good signature from "Michal Papis (RVM signing) <mpapis@gmail.com>" [unknown]
gpg: aka "Michal Papis <michal.papis@toptal.com>" [unknown]
gpg: aka "[jpeg image of size 5015]" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 409B 6B17 96C2 7546 2A17 0311 3804 BB82 D39D C0E3
Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36 166B E206 C29F BF04 FF17
GPG verified '/home/administrator/.rvm/archives/rvm-1.29.2.tgz'
Installing RVM to /home/administrator/.rvm/
Adding rvm PATH line to /home/administrator/.profile /home/administrator/.mkshrc
/home/administrator/.bashrc /home/administrator/.zshrc.
Adding rvm loading line to /home/administrator/.profile /home/administrator/.bash_profile
/home/administrator/.zlogin.
Installation of RVM in /home/administrator/.rvm/ is almost complete:
* To start using RVM you need to run `source /home/administrator/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
# administrator,
#
# Thank you for using RVM!
# We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.
In case of problems: https://rvm.io/help and https://twitter.com/rvm_io
Finally set the source to use RVM
source ~/.rvm/scripts/rvm
>
> On 09/06/2017 01:09:26 AM
Linux wrote:
Ruby is a dynamic programming language you can use to write anything from simple scripts to games and web applications. It was first released in Japan in 1993, but gained popularity in 2005 as a language for server-side web development. Ruby is designed to be easy to use and fun for beginners, but powerful enough to create complex systems. It's a great choice for beginners and experienced developers alike.
While there are many ways to install Ruby on Ubuntu, the easiest method is to use RVM, the Ruby Version Manager. It downloads the latest version of Ruby and installs all of the prerequisite libraries.
References: