summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-09-22 22:42:19 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2015-09-22 22:42:19 +0200
commitbf6ddaaacf0aec9e0074c62f9c356bbba3ed7605 (patch)
tree6588a9c7055be218405caa3b6eea723eab117b88
parent5a4d59e09e0b8ff29e46020ca094e74ae03573b5 (diff)
downloadbin-bf6ddaaacf0aec9e0074c62f9c356bbba3ed7605.zip
bin-bf6ddaaacf0aec9e0074c62f9c356bbba3ed7605.tar.gz
arch-up: clean up system rubygems
-rwxr-xr-xarch-up1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch-up b/arch-up
index ffea5ef..54df3cb 100755
--- a/arch-up
+++ b/arch-up
@@ -12,6 +12,7 @@ function sudo_run() {
}
function update_gem() {
+ sudo_run "rm -fr /usr/lib/ruby/gems/*"
run "/usr/bin/gem update --no-document"
run "/usr/bin/gem clean"
# run "/opt/ruby1.8/bin/gem update"