Debian / Ubuntu: Install gem The FrontEnd To Rubygems

www.lau‮tt‬uri.com
Debian / Ubuntu: Install gem The FrontEnd To Rubygems

To install the gem package on a Debian or Ubuntu system, you can use the apt-get command. gem is the front-end tool for managing Ruby packages, called "gems." Here are the steps to install gem:

  1. Update the package list on your system by running the following command:
sudo apt-get update
  1. Install the ruby package, which includes the gem tool:
sudo apt-get install ruby
  1. Verify that the gem tool has been installed by running the following command:
gem --version

This should display the version number of gem that is installed on your system.

Note: If you need to install a specific version of gem, you can use the gem install command to install it from the RubyGems repository. For example:

gem install gemname -v <version>

This will install the specified version of the gemname gem on your system.

Created Time:2017-10-28 14:02:27  Author:lautturi