-
Notifications
You must be signed in to change notification settings - Fork 22
Resolving issues
Rob Nelson edited this page Nov 19, 2017
·
2 revisions
Add issues found and workarounds to this page, move to an archive page when the issue is resolved
- Workaround only needs to be done once
- Workaround using Docker may not work easily on MacOS or Windows due to permissions issues with Virtualbox shared folders. For simplicity, you may wish to use a linux virtual machine.
Note that the workaround provided uses docker to run jekyll. You can perform the same actions directly on the host if you have all the correct ruby dependencies installed.
$ docker run -it --rm -v $(pwd):/srv/jekyll jekyll/builder jekyll build
Fetching gem metadata from https://rubygems.org/..............
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "rouge":
In snapshot (Gemfile.lock):
rouge (= 1.11.1)
In Gemfile:
github-pages (= 167) was resolved to 167, which depends on
rouge (= 2.2.1)
octopress was resolved to 3.0.11, which depends on
jekyll (>= 2.0) was resolved to 3.2.1, which depends on
rouge (~> 1.7)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
On host
pushd mazacoin.org
sudo chown -R 1000:1000 .
docker run -it --rm -v $(pwd):/srv/jekyll --entrypoint /bin/sh jekyll/builder
In jekyll docker container
bundle update
exit
On host
docker run -it --rm -v $(pwd):/srv/jekyll jekyll/builder jekyll build