diff options
Diffstat (limited to 'update')
-rwxr-xr-x | update | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ function sudo_run() { } function update_gem() { - # cd .gem/ruby/X.Y.0/specifications/ && ls -1 *.gemspec | 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 --no-document $gem; done sudo_run "rm -fr /usr/lib/ruby/gems/*" run "/usr/bin/gem update --no-document" run "/usr/bin/gem clean" |