Using rubygems for managing ruby packages in Linux
Introduction Ruby has become a popular and powerful programming language over the years since its inception in 1995. The Ruby programming language is the foundation for the popular web development framework Ruby on Rails. Increased popularity implied increased user base and increased functionality. So, ruby packages or gems were introduced to add additional features to the installed ruby programming language. In this article, we will explain how to install and use RubyGems – a sophisticated package manager for Ruby. Install RubyGems Ruby does not come installed on Linux systems out of the box. When you install RubyGems, it will install ruby as well as a required pre-requisite. Install rubygems on ubuntu: The ruby language packages, as well as the rubygems package, are available in the online repositories so you may type apt install rubgems to install them as shown below: root@linuxnix:~# apt install rubygems Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'ruby' instead of 'rubygems' The following additional packages will be installed: libruby2.3 rake ruby2.3 Suggested packages: ri ruby-dev The following NEW packages will be installed: libruby2.3 rake ruby ruby2.3 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 3,053 kB of archives. After this operation, 14.0 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64...
Read More