sql-machine-learning / sql-machine-learning.github.io

21 stars 12 forks source link

Wired issue found in running Jekyll from docker #52

Closed hungry1526 closed 5 years ago

hungry1526 commented 5 years ago

When I try to run Jekyll using docker run, It seems I have to add some random command before Jekyll server otherwise it will fail with GemNotFound error: "Could not find minitest-5.11.3 in any of the sources" . Any one has idea how to debug this? I could not find path to Jekyll log...

Screen Shot 2019-04-27 at 9 20 07 AM
hungry1526 commented 5 years ago

Here is my command:

docker run --rm -it \ -v $PWD:/srv/jekyll \ -e JEKYLL_GITHUB_TOKEN=ec79f2c* \ -p 4000:4000 \ jekyll/jekyll:3.8 \ whoami; jekyll serve

hungry1526 commented 5 years ago

Marked it as resolved as it seems to be transient network issue. Also adding a random command like whoami; will ask Jekyll to skip fetching RubyGem.org and serve site directly for some unknown reason.