简体   繁体   English

Rails捆绑安装错误Makefile

[英]Rails Bundle Install Error Makefile

Gem::Ext::BuildError: ERROR: Failed to build gem native extension. Gem :: Ext :: BuildError:错误:无法构建gem本机扩展。

Hi! 嗨!

Getting undreway with a new rails app, and get this error on a bundle install... I've installed both ruby and the ruby devkit 使用新的Rails应用程序撤消操作,并在捆绑安装中获取此错误...我已经安装了ruby和ruby devkit

 C:/Ruby22/bin/ruby.exe -r ./siteconf20160630-12920-wctwey.rb extconf.rb
creating Makefile

make "DESTDIR=" clean
'make' is not recognized as an internal or external command,
operable program or batch file.

make "DESTDIR="
'make' is not recognized as an internal or external command,
operable program or batch file.

help? 救命? thanks, let me know what other info i can provide 谢谢,让我知道我还能提供什么其他信息

Did you initialize the Ruby DevKit? 您是否初始化了Ruby DevKit? See https://github.com/oneclick/rubyinstaller/wiki/Development-Kit 参见https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

You'll need to: 您需要:

ruby dk.rb init
ruby dk.rb install

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM