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