From 01821aab1ac7f6f2da7372ce3d628caad033559f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 12 Feb 2018 09:29:17 +0100 Subject: update : fix gem migration cmd line --- update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update b/update index bafdb08..a0f88aa 100755 --- a/update +++ b/update @@ -23,7 +23,7 @@ function sudo_run() { } function update_gem() { - # ls -1 .gem/ruby/2.2.0/specifications/ | sed 's/-\([0-9]\+\.\)\+gemspec//' | while read gem; do gem install $gem; done + # cd .gem/ruby/X.Y.0/specifications/ && ls -1 *.gemspec | sed 's/-\([0-9]\+\.\)\+gemspec//' | while read gem; do gem install $gem; done sudo_run "rm -fr /usr/lib/ruby/gems/*" run "/usr/bin/gem update --no-document" run "/usr/bin/gem clean" -- cgit v1.1-2-g2b99