gem install permission problem

Posted by qichunren on Stack Overflow See other posts from Stack Overflow or by qichunren
Published on 2010-04-12T03:16:05Z Indexed on 2010/04/12 3:23 UTC
Read the original article Hit count: 579

Filed under:
|
|

qichunren@zhaobak:~> gem install hpricot ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions into the /opt/ruby-enterprise-1.8.7/lib/ruby/gems/1.8 directory.

current ligin user is qichunren, and qichunre user have write permission with .gem dir.I would like to know why gem not install files into my home .gem dir first?????Why my gem common first want to install files into /opt/ruby-enterprise-1.8.7/lib/ruby/gems/1.8

© Stack Overflow or respective owner

Related posts about ruby

Related posts about rails