Jekyll's “--auto” doesn't work?

前端 未结 2 1078
耶瑟儿~
耶瑟儿~ 2020-12-31 07:01

I have just reinstalled my whole system and started working on my projects again. I used and still use Jekyll in some of them however I have a problem with auto generation u

相关标签:
2条回答
  • 2020-12-31 07:13

    Seems to be caused by recent changes to the directory_watcher gem. Rolling the gem back fixed the issue for me:

    sudo gem uninstall directory_watcher && sudo gem install directory_watcher -v 1.4.1
    
    0 讨论(0)
  • 2020-12-31 07:19

    I was able to fix this by hard-locking the directory_watcher gem as per @lilakai, but I did it a different way:

    Added this line to my gemfile (within the development group):

    gem 'directory_watcher', '1.4'
    

    And ran:

    bundle update directory_watcher
    

    Everything worked once I did this (as it locked my version to 1.4, which I confirmed via the Gemfile.lock). I prefer managing all of my gems directly through bundler as opposed to through system ruby.

    I ran into this problem using the most recent version of Octopress (https://github.com/imathis/octopress) at the time of this post.

    0 讨论(0)
提交回复
热议问题