Troubleshooting Ruby Installation Issues
Ruby - is?
Ruby is a great programming language running with an interpreter. The toolchain installation might be not so easy if you are not trained in setting up a development system.
For Windows Users I would recommend the PowerShell Tool scoop - a really great command line package installer, that is even able to manage different ruby versions on the same system.
For Mac users I still have to look for a good and stable solution. Many would suggest homebrew / brew another package manager that I am not really happy with (maybe I did something wrong…all the times I tried it).
For linux you have to look for the correct package manager on you system (like pacman for Arch Linux)
Gettting the installed and active version of ruby is done with the command on the terminal / command line / powershell
ruby --version
IMPORTANT!
If you post something here it would be great to include your operating system (including the version like: Window 10 or Mac Os 10.42)
and the version of yourruby
installation
Gems ?
Ruby has a package / extension system and a gem
is a package.
After installing ruby you are able to add / remove (download and install) those gems to your lokal installation.
Installing a specific package / gem in done by the command:
gem install {{package_name}} -v {{gem-version}}
(The {{ }} are only for highlighting purpose so an example would be:
gem install asciidoctor -v 2.0.17
NOTE:
Installing a gem often installs all the necessary gems that are needed from this gem.