diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-09 13:35:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-09 13:35:39 +0000 |
commit | 1ce82d510c60134cc8e2c53b41d15e19beeeced0 (patch) | |
tree | 52c06d5c463a9e25df4eaaf6834cffc8b0a31a24 /tool/file2lastrev.rb | |
parent | ab60cf1a99607a0f679ed4aa44ad40d6af8fab19 (diff) |
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
Diffstat (limited to 'tool/file2lastrev.rb')
-rwxr-xr-x | tool/file2lastrev.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |