gem sources -c can not remove sources, use -r
Signed-off-by: Wei Jihui weijihuiall@163.com --- tests/monitor-job | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/monitor-job b/tests/monitor-job index 5fd2d73c..0f495ae2 100755 --- a/tests/monitor-job +++ b/tests/monitor-job @@ -18,7 +18,7 @@ set_scheduler_config()
install_gem_pkgs() { - gem sources -c -a https://gems.ruby-china.com/ + gem sources -r http://rubygems.org -a https://gems.ruby-china.com/ gem install activesupport git rest-client elasticsearch }