title: Uploading an image to S3 using aws-sdk v2
body: <p>I'm having a hell of a time working with the aws-sdk documentation, all of the links I follow seem outdated and unusable.</p>
  
  <p>I'm looking for a straight forward implementation example of uploading an image file to an S3 bucket in Ruby.</p>
  
  <ul>
  <li>let's say the image path is <code>screenshots/image.png</code></li>
  <li>and I want to upload it to the bucket <code>my_bucket</code></li>
  <li>AWS creds live in my ENV</li>
  </ul>
  
  <p>Any advice is much appreciated.</p>