新手问题
用gems-ruby-china
安装各种gem
都报错,内容如下:
vagrant@vagrant-ubuntu-trusty-64:~$ ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
vagrant@vagrant-ubuntu-trusty-64:~$ gem -v
2.6.4
vagrant@vagrant-ubuntu-trusty-64:~$ gem sources -l
*** CURRENT SOURCES ***
https://gems.ruby-china.org/
vagrant@vagrant-ubuntu-trusty-64:~$ gem install sass
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
bad response Bad Gateway 502 (https://gems-ruby-china.b0.upaiyun.com/quick/Marshal.4.8/sass-3.4.22.gemspec.rz)
虽然是502
错误,但是我感觉应该是我电脑问题(电脑老出问题),请教前辈们,我该如何解决这个问题?