#3 new
Christopher Meiklejohn

const_get calls in constantize() method

Reported by Christopher Meiklejohn | June 11th, 2010 @ 09:20 AM

Hi there,

It appears that the method constantize() in awsbase/support.rb is failing when making a call to const_get because the const_get call is done with two arguments. Ruby 1.9 const_get takes two arguments, but the Ruby 1.8 const_get does not.

This error occurs when requiring the aws gem.

Comments and changes to this ticket

  • Tom Davies

    Tom Davies June 15th, 2010 @ 06:22 PM

    This change was introduced in version 2.3.8. 2.3.7 works fine. Please fix this to work with ruby 1.8. Thanks.

  • Christopher Meiklejohn

    Christopher Meiklejohn June 16th, 2010 @ 05:57 AM

    I fixed this in a forked repo on github and sent over a pull request. Just as an aside, this gem fails to load without rails, but works inside of rails with certain versions of activesupport.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Appoxy Amazon Web Services ruby library providing a simple interface to all of the AWS services.

Code hosted at http://github.com/appoxy/aws

Shared Ticket Bins

People watching this ticket