Permalink
Browse files

Reinstate automatic gem installation in update-gem

  • Loading branch information...
1 parent 0f8a1c2 commit 311ebfaee0d37304a02970965ff0954cf093e85f @andreyvit andreyvit committed Feb 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 update-gem
View
@@ -19,7 +19,7 @@ touch .keepwhitespace
while test -n "$2"; do
echo "sudo gem install $2"
- # sudo gem install $2
+ sudo gem install $2
export cur_gem=$2
latest_ver=$(ls -1 $GEMS_DIR | ruby -ne 'puts "#{sprintf("%03d.%03d.%03d.%03d", $3, $4, $5, $6)} #{$2}" if /^([\w-]+)-((\d+)\.(\d+)(?:\.(\d+)(?:\.(\d+))?)?)\s*$/ && $1 == ENV["cur_gem"]' | sort | tail -1 | awk '{ print $2 }')

0 comments on commit 311ebfa

Please sign in to comment.