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

后端 未结 3 2090
感动是毒
感动是毒 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:37

    I ran into this problem too. Running the following installed Jekyll for me:

    $ \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled

    $ sudo gem install jekyll

    This installs RVM, updates Rails and installs Jekyll.

    BTW - Most of the posts I've found indicate it's a problem with Xcode not having the developer tools installed. I have a newer MacBook Pro on which this stuff was installed by default, so attempting to install the Xcode dev tools did nothing for me (unlike the above, which did everything I needed).

提交回复
热议问题