[Rubygems-developers] Rubygems Errors

Matt White whitethunder922 at yahoo.com
Mon Jul 28 17:00:42 EDT 2008


I recently upgraded a server's rubygems from 0.9.0 to 1.2.0. Upon
doing so, one of our apps that uses soap4r thinks all the security
certificates it sees are invalid (see Error 1 below). I tried
reverting to 0.9.0, but anything that uses rubygems crashes now (see
Error 2 below). If anyone could help me solve either problem, that
would be great. Ideally, I'd like to run the latest version because
some of my new Rails apps have issues with the older version of
Rubygems. Thanks! 


=============Error 1=================
Processing MainController#index (for 76.2.163.148 at 2008-07-25
11:06:30) [GET] 
  Session ID: 56f806ed434bfb20f2e37cb433c62220 
  Parameters: {"action"=>"index", "controller"=>"main"} 
Error in main_controller.index: certificate verify failed 
/var/www/fulfillment/public/../config/../lib/http-access2.rb:1001:in
`connect' 
/var/www/fulfillment/public/../config/../lib/http-access2.rb:1001:in
`ssl_connect' 
/var/www/fulfillment/public/../config/../lib/http-access2.rb:1363:in
`connect' 
/usr/local/lib/ruby/1.8/timeout.rb:56:in `timeout' 
/usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout' 
/var/www/fulfillment/public/../config/../lib/http-access2.rb:1351:in
`connect' 
/var/www/fulfillment/public/../config/../lib/http-access2.rb:1209:in
`query' 
/var/www/fulfillment/public/../config/../lib/http-access2.rb:892:in
`query' 
/var/www/fulfillment/public/../config/../lib/http-access2.rb:434:in
`do_get_block' 
/var/www/fulfillment/public/../config/../lib/http-access2.rb:370:in
`conn_request' 
/var/www/fulfillment/public/../config/../lib/http-access2.rb:285:in
`request' 
/var/www/fulfillment/public/../config/../lib/http-access2.rb:264:in
`post' 
/usr/local/lib/ruby/1.8/soap/streamHandler.rb:170:in `send_post' 
/usr/local/lib/ruby/1.8/soap/streamHandler.rb:109:in `send' 
/usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:170:in `route' 
/usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call' 
/usr/local/lib/ruby/1.8/soap/rpc/driver.rb:178:in `call' 
/usr/local/lib/ruby/1.8/soap/rpc/driver.rb:232:in `get_unfulfilled' 
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.6/lib/action_web_service/client/soap_client.rb:63:in `send' 
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.6/lib/action_web_service/client/soap_client.rb:63:in `perform_invocation' 
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.6/lib/action_web_service/client/base.rb:15:in `method_missing' 
/var/www/fulfillment/public/../config/../app/controllers/main_controller.rb:35:in `index' 
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:941:in `send' 
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:941:in `perform_action_without_filters' 
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:368:in `perform_action_without_benchmark' 
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue' 
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' 
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue' 
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/rescue.rb:82:in `perform_action' 
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:408:in `send' 
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:408:in `process_without_filters' 
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in
`process_without_session_management_support' 
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in `process' 
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in
`dispatch' 
/var/www/fulfillment/public/dispatch.cgi:10 
Completed in 0.01965 (50 reqs/sec) | Rendering: 0.00006 (0%) | 200 OK 


============Error 2============== 

irb(main):001:0> require 'rubygems' 
=> true 
irb(main):002:0> require 'hpricot' 
NoMethodError: private method `specification_version=' called for
#<Gem::Specification:0xb7c8d1a8> 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:86:in
`load_specification' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/specification.rb:401:in `initialize' 
        from (eval):1:in `new' 
        from (eval):1:in `load_specification' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:121:in `eval' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:86:in
`load_specification' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:121:in `load_gems_in' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:120:in `each' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:120:in `load_gems_in' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:75:in
`from_gems_in' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:47:in
`from_installed_gems' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:109:in
`source_index' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:111:in `init_gemspecs' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:56:in `initialize' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in `new' 
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in `require' 



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rubygems-developers/attachments/20080728/a20e9cd9/attachment.html>


More information about the Rubygems-developers mailing list