Jekyll - command not found

后端 未结 15 1853

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:50

    Following steps solved my problem

    gem uninstall jekyll
    sudo gem install jekyll
    

    Open ~/.bash_profile and add this code in the last line,

    export PATH=$PATH:/usr/local/lib/ruby/gems/1.9.1/gems/jekyll-2.5.2/bin
    

    Save and close the .bash_profile

    Close and reopen the mac terminal, try running jekyll now, it should work

提交回复
热议问题