From 1ce82d510c60134cc8e2c53b41d15e19beeeced0 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 9 Nov 2013 13:35:39 +0000 Subject: rbinstall.rb: spec date from VCS * tool/rbinstall.rb (Gem::Specification.load): obtain spec date from VCS for the case using git, RUBY_RELEASE_DATE is the last resort. probably fixes [Bug #9085]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/file2lastrev.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tool/file2lastrev.rb') diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb index 8ead4961e7..56e1b9f512 100755 --- a/tool/file2lastrev.rb +++ b/tool/file2lastrev.rb @@ -1,6 +1,9 @@ #!/usr/bin/env ruby require 'optparse' + +# this file run with BASERUBY, which may be older than 1.9, so no +# require_relative require File.expand_path('../vcs', __FILE__) Program = $0 -- cgit v1.2.3