Skip to content
This repository was archived by the owner on Mar 24, 2020. It is now read-only.

Updating Gems

UCSD Library edited this page Feb 28, 2014 · 1 revision
  1. Make sure the versions of DAMS PAS and DAMS Repo you are using are current.
  2. Edit the Gemfile to remove versions.
  3. Run bundle update to update to the latest version of all gems.
  4. List the versions used with bundle list and compare to the versions listed in the Hydra wiki: https://wiki.duraspace.org/display/hydra/Gems+and+documentation
  5. Run rspec to see what is broken by the updates. Keep in mind that any pre-release versions will need to be explicitly added to the Gemfile.
  6. Don't be daunted by the number of test failures. Many of them will be the same issue showing up in multiple places, or even the same code executed by different tests. For example, 76 test failures in one case wound up being 6 issues with 22 lines of code.
  7. Lock down versions in Gemfile.
Clone this wiki locally