limjh16 / jekyll-action-ts

:hammer: https://github.com/helaili/jekyll-action but without Docker
MIT License
42 stars 19 forks source link

limjh16/jekyll-action-ts@v2 fails due to missing /usr/local/bin/bundle #18

Open anthonyfok opened 3 years ago

anthonyfok commented 3 years ago

Hi there!

Recent attempt to run limjh16/jekyll-action-ts@v2 action fails with the following error:

Error: Unable to locate executable file: bundle. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

Apparently, in recent updates to GitHub's ubuntu-20.04 virtual environment (e.g. 20210606.1), /usr/local/bin/bundle (and /usr/local/bin/bundler too) have been removed.

As a workaround I am now using sudo apt update && apt install -y ruby-bundler before using the limjh16/jekyll-action-ts@v2.

Please see OpenDRR/documentation#13 for more information.

Thanks in advance!

limjh16 commented 2 years ago

Hey, sorry for the late reply but does this work now? If I'm not wrong, this should be the issue of ruby's setup-ruby action, not this action.