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)
Show More

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

Related Searches:

References

Resources

Comments

You May Also Like

  • How to Upgrade Ruby Gems

    Ruby is an open source, object oriented programming language. By creating different objects, called Gems, programmers can assemble software packages that are...

  • How to Install Ruby Gems in Linux

    RubyGems is a software package manager for use with the Ruby programming language. It gives users a standardized method of sharing libraries...

  • How to Reinstall RubyGems

    RubyGems describes itself as the "premier ruby packaging system." RubyGems performs package management for the Ruby computer programming language and uses a...

Related Ads

Featured