如何在 Windows、Ruby 1.8.7、Rails 2.3.8 上安装 Facets,出现 hpricot 错误
当我尝试从 rubygems 安装facets gem 时,出现此错误:
Using facets (2.8.4)
Installing hpricot (0.8.3) with native extensions c:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/installer.rb:483:in `build_
extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
如何修复此问题?
When I try to install the facets gem from rubygems, I get this error:
Using facets (2.8.4)
Installing hpricot (0.8.3) with native extensions c:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/installer.rb:483:in `build_
extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
How do I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您没有提供有关 Ruby 环境的足够详细信息,但我假设您正在使用 RubyInstaller
如果是这种情况,请安装 wiki 此处 中记录的开发工具包,该工具包可以从我们的网站下载下载部分。
You don't provide enough details about your Ruby environment, but I will assume you're using RubyInstaller
If that is the case, please install the Development Kit as documented in the wiki here which can be downloaded from our downloads section.