Over a million developers have joined DZone.

Updating Rubygems And Gems

// 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

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}