Sample code that allows you to run ruby with pg gem on AWS Lambda.

Clone the repo, update lambda function code in lambda_function.rb and deploy with ./deploy.bash.