简体   繁体   English

萌芽核中的安装问题

[英]Installation issue in sproutcore

I was installing Sproutcore while installation I was facing issue saying that "Error installing Sproutecore: The 'http_parser.rb' native gem requires installed build tools. Please update your PATH to include build tool...". 我在安装Sproutcore时遇到了一个问题,即“安装Sproutecore时出错:'http_parser.rb'本机gem需要安装的构建工具。请更新您的PATH以包括构建工具...”。

Check below screenshot of my command prompt. 检查以下命令提示符的屏幕截图。

在此处输入图片说明

I thought this error generate because I didn't set ruby path in environment variable but after setting up path I am facing same error. 我以为会产生此错误,因为我没有在环境变量中设置红宝石路径,但是在设置路径后我面临着同样的错误。 Please advise. 请指教。

I follow this link to install sproutcore. 我按此链接安装萌芽芯。

Install This DevKit: 安装此DevKit:

https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe

after installation go to devkit dir and run this following command 安装后转到devkit目录并运行以下命令

ruby dk.rb init
ruby dk.rb install
gem install rdiscount --platform=ruby

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

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