当我输入" gem install nokogiri"我收到错误:
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
我不知道我需要做些什么来解决这个问题。任何帮助将不胜感激。
答案 0 :(得分:1)
尝试以下方法:
gem install --http-proxy http://localhost:3128 _name_of_gem_
查看此处 - How do I update Ruby Gems from behind a Proxy (ISA-NTLM)
了解详情。
答案 1 :(得分:0)
在安装了gems bindex,msgpack,bootsnap,byebug,childprocess,ffi puma和sqlite3之后,终于可以使用捆绑软件安装了
我得出这样的结论:在我尝试捆绑安装后,通过sudo安装每个gem,一旦它通过Error告诉我我需要什么gem
<!-- Starts mopidy server -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.me.mopidy.plist</string>
<key>Program</key>
<string>/Users/me/.config/scripts/mopidy.sh</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>/Users/me/logfile.log</string>
<key>StandardErrorPath</key>
<string>/Users/me/error_logfile.log</string>
</dict>
</plist>