appoxy / aws

Amazon Web Services (AWS) Ruby Gem
https://rubygems.org/gems/aws
236 stars 87 forks source link

NoMethodError: undefined method `require_relative' for Aws:Module #109

Closed cjs226 closed 12 years ago

cjs226 commented 12 years ago

I'm receiving the following:

NoMethodError: undefined method require_relative' for Aws:Module /var/lib/gems/1.8/gems/aws-2.5.6/lib/awsbase/awsbase.rb:33 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require'/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require' /var/lib/gems/1.8/gems/aws-2.5.6/lib/right_aws.rb:40 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'

The system is Ubuntu 11.04 running ruby 1.8.7 (2010-08-16 patchlevel 302).

Any help would be greatly appreciated.

bradley commented 12 years ago

not sure if this is your issue, but I believe 'require_relative' is a ruby 1.9+ thing. You should try updating to it or using 'require'.

cjs226 commented 12 years ago

Thanks!