Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby 捆绑安装在windows上失败_Ruby_Heroku - Fatal编程技术网

Ruby 捆绑安装在windows上失败

Ruby 捆绑安装在windows上失败,ruby,heroku,Ruby,Heroku,在Ruby上的Windows 8.1上安装Heroku,bundle安装失败,错误如下。 已安装所有依赖项。 我怎样才能解决这个问题 Fetching gem metadata from https://rubygems.org/............ Fetching version metadata from https://rubygems.org/... Fetching dependency metadata from https://rubygems.org/.. Resolvin

在Ruby上的Windows 8.1上安装Heroku,bundle安装失败,错误如下。 已安装所有依赖项。 我怎样才能解决这个问题

Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Using i18n 0.7.0
Installing json 1.8.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

您的ruby和rails版本是什么ruby:2.2.3p173 Gem:2.5 rails:4.2.4尝试研究:谢谢,我在本地安装中遇到了与以前相同的错误:>Gem install-local json-1.8.3.Gem临时增强路径以包括DevKit。。。构建本机扩展。这可能需要一段时间。。。错误:安装json-1.8.3.gem时出错:错误:无法生成gem本机扩展。当前目录:C:/Ruby22/lib/ruby/gems/2.2.0/gems/json-1.8.3/ext/json/ext/generator C:/Ruby22/bin/ruby.exe-r./siteconf20151105-8328-102ugbv.rb extconf.rb创建Makefile失败,退出代码2