Ruby Gems: Using High Security Trust Policy

To use Ruby gems with the high security trust policy, you need three things:

The page will show you how to do this using our example site,

To add the gem source:

  $ gem sources --add
To download the secure digital certificate:
  $ wget 
To add the certificate to your system:
  $ gem cert --add
To install a gem named "ramp" using high security:
  $ gem install ramp --source='' --trust-policy HighSecurity
For the best security, you may want to also run the automatic tests, omit the documentation, and omit the user's own directory:
  $ gem install ramp --source='' --test --no-ri --no-rdoc --no-user-install --trust-policy HighSecurity

What's Next?

blog comments powered by Disqus