How to update and test rubygems helpers
Rubygems such as simp-rake-helpers are not used in simp proper and not downloaded when dependencies are updated in simp-core.
Step-by-step guide
The following steps use rubygem-simp-rake-helpers as an example
- Download the git module
- From the github: git clone https://github.com/rubygem-simp-rake-helpers
- From gerrit:
- mkdir ./rubygem-simp-rake-helpers
- cd rubygem-simp-rake-helpers
- git init
- In gerrit on right hand side select download, cut and paste the download line.
- Compile the gem. The gem should have a .spec file at the top level of the git module.
- cd rubygem-simp-rake-helpers
- gem build ./simp-rake-helpers-2.4.7.spec
- the build should create a simp-rake-helpers-2.47.gem file in the top level of the git module.
- Install to your gem folder:
- gem install ./simp-rake-helpers-2.4.7.gem
Related articles