fastlane: error: uninitialized constant Shenzhen::Plugins::S3::Client::AWS

‘Driving’ a lane that used to work before fails with: error: uninitialized constant Shenzhen::Plugins::S3::Client::AWS

potentially after upgrading to Fastlane version fastlane 1.36.4.

According to: http://stackoverflow.com/questions/22826432/uninitialized-constant-aws-nameerror, AND http://ruby.awsblog.com/post/TxFKSK2QJE6RPZ/Upcoming-Stable-Release-of-AWS-SDK-for-Ruby-Version-2 I think my aws-sdk got updated to version 2, where the AWS constant is Aws and not AWS.

Can anyone confirm that? If it is the case, then I assume we need to either require 'aws-sdk-v1', or use s3_client = Aws::S3.new in s3.rb.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 23 (6 by maintainers)

Most upvoted comments

@tettoffensive, try what I suggested in a previous commend: Uninstall aws-sdk altogether (version 2 AND 1, including aws-sdk-v1), and then gem install aws-sdk -v 1.66.0. Basically you need aws-sdk version 1 installed and only it (unless you have dependencies in other projects / you know what you’re doing with ruby environments).