当前位置:网站首页>Ruby replaces gem Alibaba image
Ruby replaces gem Alibaba image
2022-07-03 19:51:00 【wx61a34ce102246】
Sometimes Download gem The file will be slow or unsuccessful , Can be modified by gem Mirror the source to improve the download speed .
Reference resources
Alibaba open source mirror site
In the revision gem Before the mirror , You need to check , In your current system gem What is the image of , Then you can delete the corresponding .
First, execute the command to view the current image
gem sources l
- 1.

My display is as follows
C:\Users\Administrator>gem sources l
*** CURRENT SOURCES ***
https://rubygems.org/
- 1.
- 2.
- 3.
- 4.

Then delete the image and execute the command
gem sources --remove https://rubygems.org/
- 1.

Show this description that the deletion was successful
C:\Users\Administrator>gem sources -r https://rubygems.org/
https://rubygems.org/ removed from sources
- 1.
- 2.

Add new Alibaba gem Mirror image
gem sources -a https://mirrors.aliyun.com/rubygems/
- 1.

Return the following results
C:\Users\Administrator>gem sources -a https://mirrors.aliyun.com/rubygems/
https://mirrors.aliyun.com/rubygems/ added to sources
- 1.
- 2.

After image switching is successful , Downloading is much faster .
边栏推荐
- Chapter 1: recursively find the factorial n of n!
- Chapter 1: drinking soft drinks, step tariff calculation, step tariff calculation function, personal income tax, solving square root inequality, simplifying solving square root inequality, solving dem
- Basic command of IP address configuration ---ip V4
- Cross compile opencv with contrib
- Utilisation de base du cadre unitest
- Initialization and instantiation
- PR 2021 quick start tutorial, how to create a new sequence and set parameters?
- 第一章:求n的阶乘n!
- What is the difference between a kill process and a close process- What are the differences between kill process and close process?
- BUUCTF
猜你喜欢

Acquisition and transmission of parameters in automatic testing of JMeter interface

2022 Xinjiang latest construction eight members (standard members) simulated examination questions and answers

Use of aggregate functions

IPv6 experiment

Xctf attack and defense world crypto master advanced area olddriver

BOC protected tryptophan porphyrin compound (TAPP Trp BOC) Pink Solid 162.8mg supply - Qiyue supply

BUUCTF

Bright purple crystal meso tetra (4-aminophenyl) porphyrin tapp/tapppt/tappco/tappcd/tappzn/tapppd/tappcu/tappni/tappfe/tappmn metal complex - supplied by Qiyue

2022-07-02 网工进阶(十五)路由策略-Route-Policy特性、策略路由(Policy-Based Routing)、MQC(模块化QoS命令行)

Chapter 1: recursively find the factorial n of n!
随机推荐
Initialization and instantiation
About callback function and hook function
Octopus online ecological chain tour Atocha protocol received near grant worth $50000
第二章:求a,b的最大公约与最小公倍数经典求解,求a,b的最大公约与最小公倍数常规求解,求n个正整数的的最大公约与最小公倍数
Micro service knowledge sorting - three pieces of micro Service Technology
Bool blind note - score query
Difference between surface go1 and surface GO2 (non professional comparison)
第一章:求同吗小数和s(d, n)
4. Data binding
Flume learning notes
How to check the permission to write to a directory or file- How do you check for permissions to write to a directory or file?
2022-06-25 网工进阶(十一)IS-IS-三大表(邻居表、路由表、链路状态数据库表)、LSP、CSNP、PSNP、LSP的同步过程
Xctf attack and defense world crypto advanced area best_ rsa
Explore the internal mechanism of modern browsers (I) (original translation)
2022-06-30 网工进阶(十四)路由策略-匹配工具【ACL、IP-Prefix List】、策略工具【Filter-Policy】
Chapter 1: drinking soft drinks, step tariff calculation, step tariff calculation function, personal income tax, solving square root inequality, simplifying solving square root inequality, solving dem
Implementation of stack
Use of aggregate functions
Chapter 2: 4-digit Kaplan number, search even digit Kaplan number, search n-digit 2-segment sum square number, m-digit ingenious square number without 0, specify the number to form a 7-digit square nu
03 -- QT OpenGL EBO draw triangle