Livereload plugin issue with eventmachine gem


#1

I’m having an issue getting up and going with livereload. It’s having an issue with eventmachine. I tried adding it to my gemfile but that doesn’t seem to make a difference. Can you tell what I am missing?

I just updated my jekyll image docker pull jekyll/jekyll:pages

I tried it with the jekyll/jekyll image and then it says that --livereload is an invalid option.

Gemfile

source 'https://rubygems.org'
group :plugins do
    gem 'jekyll'
    gem 'liquid_reading_time'
    gem 'liquid_pluralize'
    gem 'eventmachine'
    gem 'jekyll-livereload'
end

_config.yml

livereload: true
reload_port: 35729

docker-compose.yml

version: "2"

services:
  jekyll:
    container_name: "gis.utah.gov"
    image: "jekyll/jekyll:pages"
    command: "jekyll serve --watch --incremental"
    volumes:
      - "./:/srv/jekyll"
    ports:
      - "127.0.0.1:4000:4000"

Terminal

gis.utah.gov | continue.
gis.utah.gov | Make sure that `gem install eventmachine -v '1.2.5'` succeeds before bundling.
gis.utah.gov |
gis.utah.gov | In Gemfile:
gis.utah.gov |   jekyll-livereload was resolved to 0.2.2, which depends on
gis.utah.gov |     em-websocket was resolved to 0.5.1, which depends on
gis.utah.gov |       eventmachine```

#2

Try installing just eventmachine first…

gem install eventmachine -v '1.2.5'

If it fails, post the entire error message here…
If that succeeds, your usual Jekyll workflow should mpst probably work fine.