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

r10k gem fails to install on windows without admin or Create symbolic links user rights #1316

Closed
davidsandilands opened this issue Jun 28, 2022 · 2 comments
Assignees
Labels

Comments

@davidsandilands
Copy link
Member

Describe the Bug

When installing the r10kgem on a windows system without adminstrator or symlink permissions the following error appears
Errno::EACCES: Permission denied @ rb_file_s_symlink - (../expected_1,

As r10k gem is a requirement of PDK this stops installation of pdk on corporate windows dev systems without admin/permissions.

Expected Behavior

The gem should install

Steps to Reproduce

Steps to reproduce the behavior:
gem install r10k

Environment

  • Version 3.11 and above
  • Platform Windows 10/11, Windows Server 2021

Additional Context

https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/create-symbolic-links

@davidsandilands davidsandilands self-assigned this Jun 28, 2022
bearer-pipeline-test pushed a commit to BearerPipelineTest/r10k that referenced this issue Aug 18, 2022
Remove `spec` directory from gemspec

This change updates gemspec to ignore the `spec` directory when creating a gem file to allow the r10k gem to be installed on windows servers without admin or symlink creation access, this in turn allows PDK to be installed as a rubygem as per puppetlabs#1316
@davidsandilands
Copy link
Member Author

PR merged closing issue

@mwaggett
Copy link
Contributor

Resolved by #1315 and released in r10k 3.15.1.

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

No branches or pull requests

2 participants