Skip to content

incompatible Net::HTTP monkey-path #3

@ramontayag

Description

@ramontayag

I get a very similar issue you can find here http://groups.google.com/group/paperclip-plugin/browse_thread/thread/9d1e4084ccbb6d7f/3aad5cb98aafe140:

When I run rake backup_fu I get:

"incompatible Net::HTTP monkey-path"

It dumps the sql into the backup folder, but it doesn't get uploaded to s3. It must be a problem with right_aws and some other gem. I haven't figured out what it is.

Here's the error:

$ RAILS_ENV=production rake backup > /dev/null --trace
rake aborted!
incompatible Net::HTTP monkey-patch
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/right_http_connection-1.2.4/lib/right_http_connection.rb:402:in `request'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/right_http_connection-1.2.4/lib/right_http_connection.rb:330:in `loop'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/right_http_connection-1.2.4/lib/right_http_connection.rb:330:in `request'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/right_aws-2.0.0/lib/awsbase/right_awsbase.rb:440:in `request_info_impl'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/1.8/benchmark.rb:293:in `measure'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/right_aws-2.0.0/lib/awsbase/benchmark_fix.rb:30:in `add!'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/right_aws-2.0.0/lib/awsbase/right_awsbase.rb:440:in `request_info_impl'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/right_aws-2.0.0/lib/s3/right_s3_interface.rb:184:in `request_info'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/right_aws-2.0.0/lib/s3/right_s3_interface.rb:423:in `put'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/right_aws-2.0.0/lib/s3/right_s3.rb:513:in `put'
/var/www/bridler/releases/20100930143622/vendor/plugins/backup_fu/tasks/../lib/backup_fu.rb:202:in `store_file'
/var/www/bridler/releases/20100930143622/vendor/plugins/backup_fu/tasks/../lib/backup_fu.rb:85:in `backup'
/var/www/bridler/releases/20100930143622/vendor/plugins/backup_fu/tasks/backup_fu_tasks.rake:10
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions