How can I install Jekyll on OSX 10.11?

前端 未结 9 1682
自闭症患者
自闭症患者 2020-12-05 03:27
ERROR:  While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/jekyll

I\'m getting a permission error on trying to install Jekyl

9条回答
  •  甜味超标
    2020-12-05 03:43

    Don't install Jekyll with Homebrew, The security of Homebrew is unknown : https://security.stackexchange.com/questions/105088/osx-homebrew-security-risks

    Here is how you install it without homeBrew: with a vanilla OSX el cap: http://digitalshore.io/how-to-install-jekyll-mac-os-x-el-capitan/

    Update 1:

    The only drawback is that you have to type in your password everytime you use sudo, which isnt a big deal. I rather do that than install more dependencies. You should host your Jekyll config on github anyway, that way you wont have to deal with the command line at all. Here is my article on how to set Jekyll up with github: http://stylekit.org/blog/2016/01/06/The-Jekyll-Setup/

    Update 2:

    Since then i've made a 30 second video tutorial on how you can setup a jekyll blog on github: https://vimeo.com/154566844

提交回复
热议问题