-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
/usr/local/bin/bundle disappeared from the latest ubuntu-20.04 image #3573
Comments
Hello, @anthonyfok. |
@anthonyfok, |
Hello @anthonyfok. I'm going to close this issue since it is not image related. As @al-cheb mentioned, we recommend you to use https://github.com/ruby/setup-ruby action and install |
Use official ruby/setup-ruby@v1 GitHub Action to get the Ruby "bundle" executable in .github/workflows/jekyll-asciidoc.yml as recommended by Aleksandr Chebotov (@al-cheb) at actions/runner-images#3573 (comment) and as documented in https://github.com/limjh16/jekyll-action-ts#use-the-action Fixes OpenDRR#13
Use official ruby/setup-ruby@v1 GitHub Action to get the Ruby "bundle" executable in .github/workflows/jekyll-asciidoc.yml as recommended by Aleksandr Chebotov (@al-cheb) at actions/runner-images#3573 (comment) and as documented in https://github.com/limjh16/jekyll-action-ts#use-the-action Fixes OpenDRR#13
Use official ruby/setup-ruby@v1 GitHub Action to get the Ruby "bundle" executable in .github/workflows/jekyll-asciidoc.yml as recommended by Aleksandr Chebotov (@al-cheb) at actions/runner-images#3573 (comment) and as documented in https://github.com/limjh16/jekyll-action-ts#use-the-action Fixes #13
Use official ruby/setup-ruby@v1 GitHub Action to get the Ruby "bundle" executable in .github/workflows/jekyll-asciidoc.yml as recommended by Aleksandr Chebotov (@al-cheb) at actions/runner-images#3573 (comment) and as documented in https://github.com/limjh16/jekyll-action-ts#use-the-action Fixes OpenDRR#13
Use official ruby/setup-ruby@v1 GitHub Action to get the Ruby "bundle" executable in .github/workflows/jekyll-asciidoc.yml as recommended by Aleksandr Chebotov (@al-cheb) at actions/runner-images#3573 (comment) and as documented in https://github.com/limjh16/jekyll-action-ts#use-the-action Fixes #13
Description
/usr/local/bin/bundle (and /usr/local/bin/bundler) was in ubuntu-20.04 image version 20210419.1, but no longer found in version 20210606.1.
GitHub Actions such as limjh16/jekyll-action-ts which relies on
bundle
now fails with the error:See limjh16/jekyll-action-ts#18 and OpenDRR/documentation#13 for more details.
Area for Triage:
Packages? Ruby?
Question, Bug, or Feature?:
Bug?
Virtual environments affected
Image version
Image version where you are experiencing the issue.
20210606.1
Expected behavior
/usr/local/bin/bundle is available like in image version 20210419.1
Actual behavior
/usr/local/bin/bundle is not available.
bundle
is still available in other paths or in other names elsewhere on the system, but not asbundle
in the system PATH:Repro steps
See the GitHub workflow run at https://github.com/OpenDRR/documentation/actions/runs/926023494
(In latest run, I have worked around the issue with
sudo apt update && sudo apt install ruby-bundler
.)Final thoughts
I suspect the disappearance of /usr/local/bin/bundle was unintended, and I wasn't able to find any commit that explicitly removed it from the Ubuntu runners. (I did find its removal from Windows, but that's not related to this bug.)
Admittedly, while "Bundler version 2.1.4" is listed under "Package Management" in images/macos/macos-10.15-Readme.md, Bundler was apparently never listed in images/linux/Ubuntu2004-README.md or alike.
Regardless whether you want to have /usr/local/bin/bundle available or not, I guess a bit more clarification on this would be helpful so that GitHub Actions developers can know whether to rely on
bundle
being available or not.Many thanks!
The text was updated successfully, but these errors were encountered: