gem install color-tools时,环境安装报错。求大神指点!!!!
ruby吧
全部回复
仅看楼主
level 3
通恋琪 楼主
[root@localhost wht]# gem install color-tools
Successfully installed color-tools-1.3.0
Installing ri documentation for color-tools-1.3.0
/usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block
/usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block
Done installing documentation for color-tools after 1 seconds
1 gem installed
2017年01月16日 08点01分 1
level 3
通恋琪 楼主
报冲突的地方。大神来指点
2017年01月16日 08点01分 2
level 12
如果你沒有一定要在本機上讀rdoc文件的話,
編輯 ~/.gemrc 的文檔內容為:
install: --no-rdoc --no-ri
update: --no-rdoc --no-ri
再重新安裝該 gem,
就應不會有 rdoc 的相關議題。
另外,竟然把 rvm 裝在 /usr/local 裡,
並不明智,
最好用普通用戶裝在自己的 $HOME 裡。
2017年01月17日 13点01分 3
感谢🙏
2017年01月22日 01点01分
1