diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-02-12 09:29:17 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-02-12 09:29:17 +0100 |
commit | 01821aab1ac7f6f2da7372ce3d628caad033559f (patch) | |
tree | 3457b432e6a97bf78dd0517d3dcee0f24a34b6cc | |
parent | 7ee6522cf8c34f41fb692e35da4a7c33753e7782 (diff) | |
download | bin-01821aab1ac7f6f2da7372ce3d628caad033559f.zip bin-01821aab1ac7f6f2da7372ce3d628caad033559f.tar.gz |
update : fix gem migration cmd line
-rwxr-xr-x | update | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |