Command ./bin/dockerhub_run.sh fails
fabianp opened this issue · 2 comments
fabianp commented
I get the error "
Could not find gem 'jekyll-target-blank' in locally installed gems
Run `bundle install` to install missing gems.
The error message is confusing, as I guess this is an error from docker not having some packages? running locally bundle install doesn't change anything
fabianp commented
I get the same error if I just run from the command line
docker run --rm -v "$PWD:/srv/jekyll/" -p "8080:8080" \
-it amirpourmand/al-folio bundler \
exec jekyll serve --future --watch --port=8080 --host=0.0.0.0
so it seems to me there could be something wrong with the image amirpourmand/al-folio
fabianp commented
Actually this small modification made it work for me
docker run --rm -v "$PWD:/srv/jekyll/" -p "8080:8080" \
-it amirpourmand/al-folio bundle install && bundler \
exec jekyll serve --future --watch --port=8080 --host=0.0.0.0