I am new to Ruby and just diving in. The Ruby tutorial says I should get the packaging system from here: http://rubyforge.org/frs/?group_id=126
I am on Ubuntu Linux. The
For Ubuntu
First install ruby:
sudo apt install ruby
Note that : sudo snap install ruby
will throw this error :
error: This revision of snap "ruby" was published using classic confinement and thus may perform arbitrary system changes outside of the security sandbox that snaps are usually confined to, which may put your system at risk.
If you understand and want to proceed repeat the command including --classic.
Finally, download latest tar version of ruby gems here: https://rubygems.org/pages/download
Unzip and cd to the folder and finally type in terminal:
sudo ruby setup.rb