使用包管理可以大大降低引用和管理第三方庫的成本,但是很多源都在國外,通過(guò)包管理安裝的時(shí)候,容易超時(shí);我們可以通過(guò)修改為國內源,或者使用代理來(lái)解決這個(gè)問(wèn)題。
本文檔是bejson為您整理的gem包國內資源,包括清華大學(xué)gem包,Ruby China gem包等
https://ruby.taobao.org/
gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
https://mirrors.tuna.tsinghua.edu.cn/rubygems/
gem sources --add https://mirrors.tuna.tsinghua.edu.cn/rubygems/ --remove https://rubygems.org/
您最近使用了: