Jupyter-book: Errors building HTML

Created on 25 Mar 2019  路  6Comments  路  Source: executablebooks/jupyter-book

I'm following the guide in here. I have installed docker and I can build the jupyter book. However, when running

docker run --rm --security-opt label:disable  \
   -v /full/path/to/your/book:/srv/jekyll \
   -p 4000:4000 \
   -it -u 1000:1000 \
   emdupre/jupyter-book bundle exec jekyll serve --host 0.0.0.0

I get

Could not find public_suffix-2.0.5 in any of the sources
Run `bundle install` to install missing gems.

Running bundle install gives

Bundle complete! 8 Gemfile dependencies, 107 gems now installed.
Bundled gems are installed into `./vendor/bundle`

But I still get the public_suffix error above when I run the docker run ... line. Any suggestions on how to solve this? Thanks a lot in advance

All 6 comments

Hmmm - I'm not sure if this is a Docker-related bug, but if so I think that @emdupre might be able to help out!

Sorry for the trouble, here ! Can you try deleting your Gemfile.lock or run jupyter book upgrade ?

Thanks so much @emdupre , deleting Gemfile.lock solved the issue :)

@emdupre seems like this problem/solution repeats itself quite a lot. Any workflow and/or documentation solution we could implement to highlight the importance of this step?

I opened up https://github.com/jupyter/jupyter-book/issues/154 to chat about the gemfile lock bug specifically

gonna close this one since I think we've got this issue resolved, and we now have another issue to specifically talk about the gemfile lock situation!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

muzny picture muzny  路  4Comments

spring-haru picture spring-haru  路  5Comments

TomDonoghue picture TomDonoghue  路  4Comments

firasm picture firasm  路  5Comments

nozebacle picture nozebacle  路  3Comments