Installing ya2yaml (0.30) c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:371:in `rescue in block in initialize_copy': ya2yaml-0.30 has
an invalid value for @cert_chain (Gem::FormatException)
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:364:in `block in initialize_copy'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:360:in `each'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:360:in `initialize_copy'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:638:in `initialize_dup'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:638:in `dup'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:638:in `for_cache'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:746:in `to_ruby_for_cache'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:234:in `write_spec'
from c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:175:in `install'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/source.rb:96:in `install'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/installer.rb:55:in `block in run'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/spec_set.rb:12:in `block in each'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/spec_set.rb:12:in `each'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/spec_set.rb:12:in `each'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/installer.rb:44:in `run'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/installer.rb:8:in `install'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/cli.rb:226:in `install'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/vendor/thor/task.rb:22:in `run'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/vendor/thor.rb:246:in `dispatch'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/lib/bundler/vendor/thor/base.rb:389:in `start'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.11/bin/bundle:13:in `<top (required)>'
from c:/Ruby192/bin/bundle:19:in `load'
from c:/Ruby192/bin/bundle:19:in `<main>'
我试着像这样安装它:
$ gem install ya2yaml --platform=ruby
ERROR: While executing gem ... (Gem::FormatException)
ya2yaml-0.30 has an invalid value for @cert_chain
Update gem
gem update --system
我想这应该能解决你的问题
安装"ya2yaml"
希望能有所帮助。