Skip to content

Instantly share code, notes, and snippets.

@bradleybuda
Created March 3, 2013 20:54
Show Gist options
  • Select an option

  • Save bradleybuda/5078245 to your computer and use it in GitHub Desktop.

Select an option

Save bradleybuda/5078245 to your computer and use it in GitHub Desktop.
$ gem cert --add <(curl -Ls https://gist.github.com/sferik/4701180/raw/public_cert.pem)
Added '/CN=sferik/DC=gmail/DC=com'
$ bundle install --trust-policy MediumSecurity --path trusted_gems
Fetching source index from https://rubygems.org/
Using rake (10.0.3)
Using ace-rails-ap (2.0.0)
Using i18n (0.6.1)
Installing multi_json (1.6.1)
(... many more unsigned gems install)
The gem mime-types-1.21 can't be installed because the security policy didn't allow it, with the message: Couldn't verify data signature:
Untrusted Signing Chain Root: cert = '/CN=austin/DC=rubyforge/DC=org', error = 'path
"/Users/brad/.gem/trust/cert-fce04dea165fb7d6b599e8cd43ffdfff2da63b15.pem" does not exist'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment