search

Home  >  Q&A  >  body text

ruby - 不同用户环境使用gem的一个问题

我用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账户试了下发现时可以正常安装的,有同学遇到过这个问题不?

PHPzPHPz2775 days ago705

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-04-21 10:58:18

    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/

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-21 10:58:18

    Use ruby, a must-have VPN

    reply
    0
  • Cancelreply