flexera-public / right_aws

RightScale Amazon Web Services Ruby Gems
MIT License
449 stars 175 forks source link

NameError: uninitialized constant RightAws::RightAwsBaseInterface::MD5 #78

Closed icy closed 13 years ago

icy commented 13 years ago

Hi,

When I tried

@ec2   = RightAws::Ec2.new(foo, bar, :endpoint_url => "https://ec2.ap-southeast-1.amazonaws.com", :cache => true)

I saw an error message

I, [2011-06-28T14:38:58.269444 #25568]  INFO -- : New RightAws::Ec2 using shared connections mode
I, [2011-06-28T14:38:58.270171 #25568]  INFO -- : Opening new HTTPS connection to ec2.ap-southeast-1.amazonaws.com:443
E, [2011-06-28T14:39:08.070632 #25568] ERROR -- : #<NameError: uninitialized constant RightAws::RightAwsBaseInterface::MD5>
/home/pi/.rvm/gems/ruby-1.8.7-head/gems/right_aws-2.1.0/lib/awsbase/right_awsbase.rb:334:in `cache_hits?'/home/pi/.rvm/gems/ruby-1.8.7-head/gems/right_aws-2.1.0/lib/awsbase/right_awsbase.rb:560:in `request_cache_or_info'/home/pi/.rvm/gems/ruby-1.8.7-head/gems/right_aws-2.1.0/lib/ec2/right_ec2.rb:151:in `describe_resources_with_list_and_options'/home/pi/.rvm/gems/ruby-1.8.7-head/gems/right_aws-2.1.0/lib/ec2/right_ec2_instances.rb:103:in `describe_instances'ec2.rb:20.join('
')}
E, [2011-06-28T14:39:08.070738 #25568] ERROR -- : Request was: ....
E, [2011-06-28T14:39:08.070898 #25568] ERROR -- : Response was: 200 -- OK -- <?xml version="1.0" encoding="UTF-8"?>....

Please help. Thank you.

konstantin-dzreev commented 13 years ago

Hi,

Should be fixed now. Give it a try plz.

Thanks!