Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

NoMethodError: undefined method `require_relative' for Aws:Module

469 views
Skip to first unread message

Jeremy Rosengren

unread,
Jan 17, 2011, 3:07:52 PM1/17/11
to ruby-aws
Hi,

I'm trying to use this module and am seeing the following error:

>> require 'aws'
NoMethodError: undefined method `require_relative' for Aws:Module
from /Library/Ruby/Gems/1.8/gems/aws-2.4.0/lib/awsbase/
awsbase.rb:33
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/
usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/
usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /Library/Ruby/Gems/1.8/gems/aws-2.4.0/lib/aws.rb:18
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/
usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/
usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require'
from (irb):2

I've tried on both Ubuntu 10.10 and Mac OS X 10.6 and am seeing the
error in both places. Is this an issue with Ruby 1.8.7? If so, I
didn't see anything in the existing documentation that requires Ruby
1.9.x

Thanks,

-- jeremy

Travis Reeder

unread,
Jan 17, 2011, 5:06:24 PM1/17/11
to ruby...@googlegroups.com
Hi Jeremy,

@tobias just submitted a patch so I pulled that in and tried it out. Can you do a gem update and let me know if it works for you now?

Travis


--
You received this message because you are subscribed to the Google Groups "ruby-aws" group.
To post to this group, send email to ruby...@googlegroups.com.
To unsubscribe from this group, send email to ruby-aws+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ruby-aws?hl=en.


Jeremy Rosengren

unread,
Jan 17, 2011, 10:38:46 PM1/17/11
to ruby...@googlegroups.com
Hi Travis,

2.4.1 appears to have resolved the issue, thanks for the quick turnaround!

I also noticed during testing that the 'i18n' gem is required.  Is that system specific or should that be added to the 'aws' gem dependency list?

Thanks!

-- jeremy
Reply all
Reply to author
Forward
0 new messages