-
Notifications
You must be signed in to change notification settings - Fork 182
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
How to solve "failed to load command: middleman" on M1? #2543 #1600
Comments
@BigXia if you build the docker image manually instead of pulling the image it will work fine: docker build . -t slatedocs/slate |
But i want to know how to solve this issue directly rather than using another way. Do you know how to solve directly? because i aim to solve similiar bug from another slate project which is integrated complicately and does not work with that way. |
Hi 37 is how total price |
Hi nice to meet you how are you today and who is wait this account I'm today open right bat I have world onle moments is right how every body about is seme turi you understand turi |
guys, I have M1 and I had the same issue. At first, I tried to change the docker build itself and use docker-compose instead but after many failures, I've cleaned my docker totally and tried what they say in the docs:
and it is just working. |
Bug Description
A clear and concise description of what the bug is and how to reproduce it.
Screenshots
If applicable, add screenshots to help explain your problem.
Follow the doc step by step, but got error after run:
[192:test] docker run --rm --name slate -v$(pwd)/build:/srv/slate/build -v $ (pwd)/source:/srv/slate/source slatedocs/slate build
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
bundler: failed to load command: middleman (/usr/local/bundle/bin/middleman)
/usr/local/bundle/gems/rb-inotify-0.10.1/lib/rb-inotify/notifier.rb:69:in initialize': Function not implemented - Failed to initialize inotify (Errno::ENOSYS) from /usr/local/bundle/gems/listen-3.0.8/lib/listen/adapter/linux.rb:31:in new'
from /usr/local/bundle/gems/listen-3.0.8/lib/listen/adapter/linux.rb:31:in _configure' from /usr/local/bundle/gems/listen-3.0.8/lib/listen/adapter/base.rb:45:in block in configure'
from /usr/local/bundle/gems/listen-3.0.8/lib/listen/adapter/base.rb:40:in `each'
https://github.com/slatedocs/slate/wiki/Using-Slate-in-Docker
Browser (please complete the following information):
Last upstream Slate commit (run
git log --author="\(Robert Lord\)\|\(Matthew Peveler\)\|\(Mike Ralphson\)" | head -n 1
):Put the commit hash here
The text was updated successfully, but these errors were encountered: