summaryrefslogtreecommitdiff
path: root/tool/file2lastrev.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-09 13:35:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-09 13:35:39 +0000
commit1ce82d510c60134cc8e2c53b41d15e19beeeced0 (patch)
tree52c06d5c463a9e25df4eaaf6834cffc8b0a31a24 /tool/file2lastrev.rb
parentab60cf1a99607a0f679ed4aa44ad40d6af8fab19 (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-xtool/file2lastrev.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb
index 8ead496..56e1b9f 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