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

Fix bundle installation error on GitHub Action #143

Conversation

aYukiSekiguchi
Copy link
Contributor

This commit attempts to fix the GitHub Actions failure in PR #142.

Ruby 3.2 Unit Testing on ubuntu-latest

The installation path is insecure. Bundler cannot continue.
/opt/hostedtoolcache/Ruby/3.2.5/x64/lib/ruby/gems/3.2.0/gems is world-writable (without sticky bit).
Bundler cannot safely replace gems in world-writable directories due to potential vulnerabilities.
Please change the permissions of this directory or choose a different install path.
Error: Process completed with exit code 38.

The last commit to the main branch was successful, but it was 5 months ago (Apr 30). It seems that an update to Ruby or Bundler may have broken the Action.

Based on my testing in my repository, this fix resolves the issue: PR #1.

Signed-off-by: Yuki Sekiguchi <yuki.sekiguchi@access-company.com>
@aYukiSekiguchi aYukiSekiguchi force-pushed the fix_bundle_installation_error_on_github_action branch from 60dc0d5 to 676b28b Compare September 6, 2024 06:06
@cosmo0920 cosmo0920 merged commit c840b29 into fluent:main Sep 6, 2024
12 checks passed
kenhys added a commit that referenced this pull request Oct 2, 2024
Mainly improved retry logic and refresh aws credentials.

#116
#119
#131
#136
#142
#143
kenhys added a commit that referenced this pull request Oct 2, 2024
Mainly improved retry logic and refresh aws credentials.

#116
#119
#131
#136
#142
#143
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
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