How to install json gem - Failed to build gem native extension(mac 10.10)

后端 未结 5 1713
深忆病人
深忆病人 2020-12-05 22:40

OS: Mac OS X 10.10.3 XCode: Latest with command line tools installed (version 6.3) Rails: version 4.2.1 Ruby: version 2.2.1

I was trying to generate the rou

5条回答
  •  醉话见心
    2020-12-05 23:34

    This worked for me, since I downloaded basic Ruby by accident.

    1.

    Install the Ruby "Development Kit" here: http://rubyinstaller.org/downloads/ Click the self-extracting file, and extract it here:

    C:\RubyDevKit

    (or somewhere else, but I had problems in other directories)

    2.

    Open the cmd (terminal): cd C:\RubyDevKit ruby dk.rb init ruby dk.rb install

    Source: http://jekyll-windows.juthilo.com/1-ruby-and-devkit/

提交回复
热议问题