莱因电博

Li-e.cn

Li Internet Electronic Blog
@rss

给 Gem 换国内源

Replace the mirror source for Gem

————————————————————

换成国内:

lets@eubt:~$ gem sources
*** CURRENT SOURCES ***

https://rubygems.org/
lets@eubt:~$ gem sources --remove https://rubygems.org/
https://rubygems.org/ removed from sources
lets@eubt:~$ gem sources --add https://mirrors.tuna.tsinghua.edu.cn/rubygems/
https://mirrors.tuna.tsinghua.edu.cn/rubygems/ added to sources
lets@eubt:~$ gem sources
*** CURRENT SOURCES ***

https://mirrors.tuna.tsinghua.edu.cn/rubygems/
lets@eubt:~$ 

更新缓存:

gem sources -u
(C) 2019 - 2024 Li-e.cn莱因电博(立网电子博客) | Powered by Vercel , based on Hugo with Gists theme.