Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gemrc typo #345

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

gemrc typo #345

wants to merge 1 commit into from

Conversation

pznamensky
Copy link

Just a small typo in #344

@hsbt
Copy link
Member

hsbt commented Nov 21, 2023

@pznamensky
Copy link
Author

Hmm, indeed it should work.
However, I've tried it and got an error:

root@ca87f49109a5:~# gem install my-gem --source s3://my-gem-us --version 0.0.27
ERROR:  Could not find a valid gem 'my-gem' (= 0.0.27), here is why:
          Unable to download data from s3://my-gem-us - no s3_source key exists in .gemrc (s3://my-gem-us)

root@ca87f49109a5:~# cat .gemrc
:sources:
- s3://my-gem-us
:s3_source:
  :my-gem-us:
    :provider: instance_profile

root@ca87f49109a5:/# gem --version
3.4.10

Setting s3_source: (without leading colons) works fine for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants