AWS Developer Blog

Category: Ruby

Ruby 1.8 End of Life Plan

You have probably heard that Ruby 1.8.7 has officially reached it’s end of life. This makes it important for us to discuss what our plans will be for the AWS SDK for Ruby (aws-sdk gem) with regards to Ruby 1.8. We currently support as far back as Ruby 1.8.7. There are now additional considerations with […]

Read More

A New Addition to the AWS SDK for Ruby

Last week we quietly welcomed a new addition to the AWS SDK for Ruby organization. We’re proud to publicly announce that Alex Wood has joined our team and is now a core contributor to the Ruby SDK, as well as some of our other ongoing Ruby-based projects. He’s already jumped in on GitHub where he […]

Read More

Using the AWS SDK for Ruby from Your REPL

We are all used to spinning up irb or Pry sessions to play with Ruby’s features interactively. Some people reading this might even be using the rails console on a daily basis, which can make digging through Ruby on Rails applications much easier. Well, we’re actually working on bringing that same functionality into the AWS […]

Read More

Working with Multiple Regions

In a previous blog post, I introduced the new :region configuration option for the AWS SDK for Ruby (aws-sdk gem). Beyond simplified configuration, the Ruby SDK provides additional helpers for working with multiple regions. There are two new helper classes for working with regions, AWS::Core::Region and AWS::Core::RegionCollection. The AWS module provides helper methods so that […]

Read More

Working with Regions

The AWS SDK for Ruby (aws-sdk gem) has some cool new features that simplify working with regions. The Ruby SDK defaults to the us-east-1 region for all services. Until recently, you had to specify the full regional endpoint for each service you connect to outside the default region. If you use multiple services outside us-east-1, […]

Read More

Threading with the AWS SDK for Ruby

When using threads in an application, it’s important to keep thread-safety in mind. This statement is not specific to the Ruby world; it’s a reality in any language that supports threading. What is specific to Ruby is the fact that many libraries in our language are loaded at run-time, and often, loading code at run-time […]

Read More

AWS at RailsConf 2013

Loren and I will be at RailsConf next week. AWS will have a booth on the exhibitor floor. If you have any questions about the AWS SDK for Ruby (or anything really), we’d love to chat. We will have swag and credits to hand out, so come stop by and say hi. I will also […]

Read More

Locking Dependency Versions with Bundler

When writing a Ruby application or library that makes use of third-party dependencies, it is always best to keep track of those dependency versions. This is an easy thing to do with Bundler, but not everybody does it. We think you should, so here are some quick tips on how to get started. Locking to […]

Read More

Stubbing AWS Responses

I come across questions frequently about how to test an application that uses the AWS SDK for Ruby (aws-sdk gem). Testing an application that makes use of an external service is always tricky. One technique is to stub the client-level responses returned by the SDK. AWS.stub! Calling the AWS.stub! method in your ruby process configures […]

Read More

Logging HTTP Wire Traces

In a previous previous blog post, I wrote about how to log requests generated by the AWS SDK for Ruby (aws-sdk gem). While this can be a valuable tool in seeing how your code translates into requests to AWS, it doesn’t do everything. What if you think the SDK is serializing your request incorrectly? Sometimes […]

Read More