diff options
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-x | tool/rbinstall.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 1f2a6aebc0..b3dad0ee89 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -579,7 +579,8 @@ module Gem def self.last_date(path) return unless $vcs - return unless time = $vcs.get_revisions(path)[2] + time = $vcs.get_revisions(path)[2] rescue return + return unless time time.strftime("%Y-%m-%d") end |