This is a sample that tests Amazon SQS on your local machine. On local, it uses ElasticMQ instead of Amazon SQS.
1.You have to download ElasticMQ and run it. See below URL for more information.
https://github.com/adamw/elasticmq
2.And bundle install.
$ bundle install
3.You have to prepare the Aws Credentials in ~/.aws/credentials if you use Amazon SQS.