ruby - 不同用户环境使用gem的一个问题
PHPz
PHPz 2017-04-21 10:56:18
0
2
680

我用root用户安装了twitter-text这个包,但是其他用户无法使用(其他包是可以正常使用的),然后我试着用这个账户单独安装一下这个包,却总是提示:

ERROR:  Could not find a valid gem 'devise' (>= 0) in any repository
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    too many connection resets (http://production.s3.rubygems.org/latest_specs.4.8.gz)

然后我又用root账户试了下发现时可以正常安装的,有同学遇到过这个问题不?

PHPz
PHPz

学习是最好的投资!

reply all(2)
左手右手慢动作

This error message is because rubygems has been harmonized. For details, please refer to http://huacnlee.com/blog/using-nginx-...

Now Taobao’s ruby ​​engineers have set up a domestic mirror of rubygems. For specific reference: http://ruby.taobao.org/

Peter_Zhu

Use ruby, a must-have VPN

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!