ERROR: Error installing jekyll: ERROR: Failed to build gem native extension

后端 未结 3 1975
感动是毒
感动是毒 2021-01-13 01:10

My system has:

  • ruby 2.0.0p451 (2014-02-24) [x64-mingw32]
  • gem -version 2.2.2
  • devKit : DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe
3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-13 01:33

    I got this error while installing Jekyll on Linux (Mint 17, which is based on Ubuntu 14.04).

    I eventually found the solution here. I needed both the ruby-dev package and nodejs (the latter due to a bug in Jekyll).

    sudo apt-get install ruby ruby-dev make
    sudo gem install jekyll --no-rdoc --no-ri
    sudo apt-get install nodejs    
    

提交回复
热议问题