Require 'aws-sdk' - Newbie Question

I am very new to ruby and am writing my first script. We are using RHEL and my script has the following in it:

require ‘rubygems’
require ‘aws-sdk’
puts ‘This is a Test’

When I execute the script I am getting an error for the require ‘aws-sdk’. Here is the message I am receiving, what are we missing?

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': /usr/lib/ruby/gems/1.8/gems/aws-sdk-core-3.44.0/lib/aws-sdk-core.rb:95: syntax error, unexpected ':', expecting ')' (SyntaxError) @shared_config ||= enabled) ^ /usr/lib/ruby/gems/1.8/gems/aws-sdk-core-3.44.0/lib/aws-sdk-core.rb:169: syntax error, unexpected $end, expecting kEND from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire’
from /usr/lib/ruby/gems/1.8/gems/aws-sdk-resources-3.35.0/lib/aws-sdk-resources.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire’
from /usr/lib/ruby/gems/1.8/gems/aws-sdk-3.0.1/lib/aws-sdk.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:inrequire’
from check.rb:2

Aany help would be greatly appreciated.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs