开发者

How do I install facets on windows, ruby 1.8.7, rails 2.3.8, I get hpricot error

开发者 https://www.devze.com 2023-01-29 18:17 出处:网络
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 nati开发者_如何学Gove extensions c:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/

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 nati开发者_如何学Gove 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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消