diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-04 09:51:34 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-04 09:51:34 +0100 |
commit | 18bc481d3cc790cd819509ea64dbab3ec7834544 (patch) | |
tree | 76766af57dc593788268ec1bf5c97c94b4d6f6b1 | |
parent | ae37b2ff02254c8ec0e409c45b7a67cb4a991d9c (diff) | |
download | bin-18bc481d3cc790cd819509ea64dbab3ec7834544.zip bin-18bc481d3cc790cd819509ea64dbab3ec7834544.tar.gz |
arch-up: add usefull bash line to reinstall ruby gems
-rwxr-xr-x | arch-up | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,8 @@ 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 + sudo_run "rm -fr /usr/lib/ruby/gems/*" run "/usr/bin/gem update --no-document" run "/usr/bin/gem clean" |