Skip to content

Instantly share code, notes, and snippets.

@ujuettner
ujuettner / gist:3914147
Created October 18, 2012 19:09
Just a small sample on how to deal with DynamoDB and Ruby using the AWS SDK for Ruby
#!/usr/bin/env ruby
#
file_location = File.dirname(__FILE__)
$:.unshift(File.join(file_location, 'aws-sdk-for-ruby', 'lib'))
require 'yaml'
require 'aws-sdk'
require 'Date'
aws_config_file = File.join(File.dirname(__FILE__), 'aws_config.yml')