meshery / meshery

Meshery, the cloud native manager

Home Page:https://meshery.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`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

Screenshot 2024-03-12 at 5 39 49 PM

Environment

  • Host OS: Mac
  • Platform: Docker
  • Meshery Server Version: stable-v
  • Meshery Client Version: stable-v

Contributor Guides and Handbook

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 πŸ‘