[**Ruby**](https://www.ruby-lang.org) is a dynamic, open source general-purpose programming language with a simple and easy to understand syntax. Writing code in Ruby is very easy, Ruby based source code is easy to read to a non-programmer to. Ruby is widely used for creating web applications and offers really popular web frameworks like [Sinatra](https://sinatrarb.com), [Ruby on Rails](http://rubyonrails.org) and many others, Ruby is also used to create command line tools, It can also be used for writing awesome desktop applications.
Ruby packages are called “gems“, these gems can be installed using Rubygems the package manager for Ruby.
Ruby can be installed using a simple command.
sudo pacman -S ruby
Exporting Ruby and gem binary path. You need to add these lines to your ‘.bashrc’ or .’bash_profile’, If you are using ZSH, you need to add this in your ‘.zshrc’, if you are using ‘grml-zsh-config’ from the Arch Linux repository you need to add this in ‘zshrc.pre’