`make docker` command fails when setting up dev environment for docs
sangramrath opened this issue Β· comments
Current Behavior
On running make docker
or make docs-docker
to serve the documentation code through docker there are requirement conflicts with the ruby version.
The docker container never starts and fails with the following error:
Ruby (< 3.4.dev, >= 3.1), which is required by gem 'nokogiri (>= 1.13.6, <
2.0)', is not available in the local ruby installation
make: *** [Makefile:329: docs-docker] Error 6
Expected Behavior
There is no error and docker container runs.
Screenshots/Logs
Environment
- Host OS: Mac
- Platform: Docker
- Meshery Server Version: stable-v
- Meshery Client Version: stable-v
Contributor Guides and Handbook
- π Meshery Build & Release Strategy
- π Instructions for contributing to documentation
- π¨ Wireframes and designs for Meshery UI in Figma (open invite)
- ππΎππΌ Questions: Discussion Forum and Community Slack
Thanks for opening this issue. A contributor will be by to give feedback soon. In the meantime, please review the Contributors' Welcome Guide, engage in the discussion forum, and be sure to join the community Slack.
Cause
The docker run
command in Makefile uses jekyll:4.0.0 image which uses ruby 2.7. Changing it to jekyll:4.0 (a newer image than 4.0.0) works which has ruby 3.1. (tested)
Thank you for reporting this, @sangramrath π