Opening Disclaimer: I'm all kinds of newb to the technologies involved in this question. But the Googles, she no yield-a the fruit.
I'm trying to deploy a Rails app into production. This app works fine using WEBRick. I am also using the AWS gem to retrieve data from S3.
I have installed and set up Nginx with Passenger. When I hit the page I'm testing I get this error:
/home/ec2-user/.gem/ruby/2.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:223: `@@{' is not allowed as a class variable name
/home/ec2-user/.gem/ruby/2.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:223: syntax error, unexpected end-of-input
unless defined? @@{:instance_writer=>false}
^ (SyntaxError)
I guess something about Nginx/Passenger/Who-Knows is choking on the AWS code, but again, using WEBRick, I don't get this error.