错误无法在Windows 7x64上构建json gem native扩展

时间:2016-02-05 10:59:35

标签: ruby-on-rails json rubygems devkit

我正在尝试安装devkit,然后在Windows7 64位上安装json gem,我已经安装了ruby 4.2.4&提取devkit配置的config.yml并运行ruby dk.rb install然后当我运行gem install JSON --platform = ruby​​但是它给出了如下错误:

@JobNo int

AS

1 个答案:

答案 0 :(得分:0)

对于后人,我基本上问了同样的问题和Azolo noticed that it was because I had the wrong, x86 version of Ruby installed,而不是与我的机器和devkit相匹配的x64。删除旧版本并下载x64版本的Ruby修复了我的问题。