How to Install RubyGems
Ruby is a programming language invented by the programmer Yukihiro Matsumoto. The Ruby on Rails framework is a major commercial implementation of the Ruby language and is used in many web applications. A single application or software library written in Ruby is also known as a gem. If you want to develop in Ruby, you will need to download and install several common gems to get started. You can then explore other gems, which will help you produce applications quickly by taking advantage of software reuse. Installing a gem is simple and can be done after installing the Ruby language.
Things You'll Need
- PC with Ruby programming language installed (see Resource for download link)
Instructions
-
-
1
Open a command prompt by clicking on the command prompt icon, located in your PC's list of applications.
-
2
Search for an installable, remote gem by entering the following command in the command prompt and hitting " Enter".
gem --query remote
-
-
3
Select a gem you would like to install from the list of output generated by the previous command. For example, suppose you saw a gem titled "Ruby-Remote-Gem."
-
4
Install the selected gem by entering the following command in the command prompt and hitting "Enter".
gem install --remote Ruby-Remote-Gem
-
5
Wait for the gem to install. The command prompt will display the following text when installing:
Attempting remote installation of 'Ruby-Remote-Gem' Successfully installed Ruby-Remote-Gem, version 0.0.0
-
1