问题
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.
回答1:
Try the below :
gem install --http-proxy http://localhost:3128 _name_of_gem_
look here - How do I update Ruby Gems from behind a Proxy (ISA-NTLM) for more information.
回答2:
Finally got bundle install to work after installing gems bindex, msgpack, bootsnap, byebug, childprocess, ffi puma, and sqlite3
I came to this conclusion by sudo installing each gem after I attempted to bundle install, once it through an Error it told me what gem I needed
In Gemfile:
puma
来源:https://stackoverflow.com/questions/17331282/error-installing-nokogiri-permission-denied