-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
bundler: failed to load command: jekyll #15
Comments
Hi @kinoute Could you show me your Thanks and regards |
It seems related to the lack of a Javascript engine. I had the same error on another action for Jekyll. Adding the nodejs package before bundle make the error disappear. |
Hi @kinoute Could you provide me the project's repository to me? So that I can help to investigage this issue. Thanks and regards |
My project's repository is private, sorry. But just adding nodejs to your Dockerfile should fix the issue for many users. I'm now using this action: https://github.com/helaili/jekyll-action Without nodejs, I had the same error as here. So I made use of the name: Build and deploy jekyll site
on:
push:
branches:
- master
# - source
# It is highly recommended that you only run this action on push to a
# specific branch, eg. master or source (if on *.github.io repo)
jobs:
jekyll:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v2
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
# Standard usage
- uses: helaili/jekyll-action@master
with:
token: ${{ secrets.GH_TOKEN }}
target_branch: 'gh-pages'
pre_build_commands: apk --update add imagemagick nodejs Works like a charm now! |
Thanks for your solution @kinoute . I had exactly the same problem & after using pre_build_commands to install nodejs in https://github.com/helaili/jekyll-action solved the problem. |
Can we close this issue? |
@MatheusRich Sure, if you have any issue, don't hesitate to reach out me. : ) |
Hello,
Using master, I'm getting this error:
The text was updated successfully, but these errors were encountered: