安装 nokogiri 时出错,权限被拒绝 [英] Error installing nokogiri, permission denied

查看:61
本文介绍了安装 nokogiri 时出错,权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我输入gem install nokogiri"时,我收到错误:

When I type "gem install nokogiri" I receive the error:

ERROR: While executing gem ... (Errno: EACCES)
    Permission denied - C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/
nokogiri-1.6.0-x86-mingw32/lib/nokogiri/1.9/nokogiri.so

我不知道我需要做什么来解决这个问题.任何帮助将不胜感激.

I have no idea what I need to do to fix this. Any help would be appreciated.

推荐答案

试试下面的:

gem install --http-proxy http://localhost:3128 _name_of_gem_

看这里 - 如何从代理 (ISA-NTLM) 后面更新 Ruby Gems 了解更多信息.

look here - How do I update Ruby Gems from behind a Proxy (ISA-NTLM) for more information.

这篇关于安装 nokogiri 时出错,权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆