How to Update Ruby Gems

The Ruby programming language, originally developed by Yukihiro "Matz" Matsumoto, uses a program known as Ruby Gems to collect, distribute and install Ruby library and tools that can be used by developers in their programs. This makes is easier to easily install dozens or hundreds of extensions to the Ruby language easily, so it is helpful that the means to automatically update the extensions (called gems) is included.

Instructions

    • 1

      Open a terminal or command prompt. In Windows, you can do this by clicking "Start," "Run," and typing "cmd." In Mac OS X, click the Spotlight button and type "Terminal."

    • 2

      Type the following on a Mac OS X or Linux machine:

      sudo update_rubygems

      On a Windows machine, you do not need the "sudo" prefix.

      This will install any updates to the Ruby Gems program itself. You may be prompted for your password.

    • 3

      Type the following to update all installed gems:

      sudo gem update

      Again, on Windows, leave the "sudo" off.

Related Searches:

References

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 Reinstall the Ruby Gems

    Open a command prompt. How to do this will vary a great deal depending on your operating system. In Windows, click "Start,"...

  • 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...

  • Uses for Star Ruby Gems

    Uses for Star Ruby Gems. Star rubies have a brilliant, star-shaped sheen caused in part by inclusions of the mineral rutile, often...

  • What Are Gems Used for?

    Gems are precious stones that come in many shapes, sizes and colors. Gems are used in decorating furniture and clothing. They are...

  • How to Uninstall a Ruby Gem

    Features can be added to the Ruby programming language by downloading and installing special packages called gems. These packages are fetched from...

  • 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...

  • How to Build Ruby Gems

    Ruby is a programming language created by Japanese computer scientist Yukihiro Matsumoto. Ruby libraries are distributed using a centralized network and package...

  • How to Install a RubyGem Git

    A Ruby "gem" is a software application or library written in the Ruby programming language and packaged for simplified distribution and installation....

  • How to Sign Up for Gems Email From Narfe

    The National Active and Retired Federal Employees Association (NARFE) strives to improve and protect the retirement benefits, health benefits and pay issues...

Related Ads

Featured