tag:help.rubygems.org,2010-01-19:/discussions/problems/38417-s3_source-doesnt-workRubyGems.org: Discussion 2020-10-13T04:27:59Ztag:help.rubygems.org,2010-01-19:Comment/486994512020-10-07T06:04:49Z2020-10-07T06:04:49Zs3_source doesn't work<div><p>Hi Brian,</p>
<p>Can you please show us your ,gemrc? make sure you have masked id, secret, and any other sensitive info before sharing.<br>
Also, please confirm that sources value ends with a trailing slash and you have specified the region of the bucket.</p></div>sonalkr132tag:help.rubygems.org,2010-01-19:Comment/486994512020-10-08T16:02:54Z2020-10-08T16:02:55Zs3_source doesn't work<div><p>Hello,</p>
<p>I've tried both of these, and <code>echo $AWS_<variables></code> to make sure the env<br>
was correct in the first case:</p>
<p><em>:sources: - s3://myBucket/ s3_source: {<br>
myBucket: { provider: "env", region: "us-west-2" }, }</em></p>
<p>:sources: - s3://myBucket/ s3_source: {<br>
myBucket: id: "omitted", secret: "omitted_also", secret_token: "omitted_also_also", region: "us-west-2" } }</p>
<p>Thanks!</p>
<p>-Brian</p></div>Brian Aurontag:help.rubygems.org,2010-01-19:Comment/486994512020-10-13T04:27:55Z2020-10-13T04:27:55Zs3_source doesn't work<div><p>Your config seems correct to me. What the version of your rubygems <code>gem -v</code>? Can you please try <code>gem install mygem --verbose</code> and send us the output? Does <code>gem install mygem -v 3.0.1 --source s3://<AWS_ACCESS_KEY_ID>:<AWS_SECRET_ACCESS_KEY>@bucket1</code> also not work for you?</p></div>sonalkr132