Jekyll - command not found

后端 未结 15 2062

I am trying to get Jekyll running but I have no experience with Ruby.
As far as I can tell the installation of Jekyll has succeeded.
However:

$ jekyll
         


        
15条回答
  •  感动是毒
    2021-01-31 02:36

    If you are using MacOS, from the Troubleshooting guide:

    Jekyll & Mac OS X 10.11Permalink

    With the introduction of System Integrity Protection, several directories that were previously writable are now considered system locations and are no longer available. Given these changes, there are a couple of simple ways to get up and running. One option is to change the location where the gem will be installed (again, using sudo only if necessary):

    $ gem install -n /usr/local/bin jekyll
    

提交回复
热议问题