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, sixarm.com.

To add the gem source:

  $ gem sources --add http://sixarm.com
To download the secure digital certificate:
  $ wget http://sixarm.com/sixarm.pem 
To add the certificate to your system:
  $ gem cert --add sixarm.com
To install a gem named "ramp" using high security:
  $ gem install ramp --source='http://sixarm.com' --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='http://sixarm.com' --test --no-ri --no-rdoc --no-user-install --trust-policy HighSecurity



What's Next?

blog comments powered by Disqus