Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Updating Rubygems and gems (See related posts)

// Update Rubygems to the latest version, and getting the latest gems, and then cleaning up.

sudo gem update --system  # Update to latest Rubygems (if any)
gem outdated  # Get list of outdated gems and update as necessary
sudo gem install XXX --include-dependencies
sudo gem clean  # Clean up outdated gems

You need to create an account or log in to post comments to this site.


Click here to browse all 4858 code snippets

Related Posts