summaryrefslogtreecommitdiff
path: root/template/fake.rb.in
diff options
context:
space:
mode:
Diffstat (limited to 'template/fake.rb.in')
-rw-r--r--template/fake.rb.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/fake.rb.in b/template/fake.rb.in
index ed9416a16f..e8eba09289 100644
--- a/template/fake.rb.in
+++ b/template/fake.rb.in
@@ -4,8 +4,8 @@ class Object
remove_const :RUBY_VERSION
remove_const :RUBY_DESCRIPTION if defined?(RUBY_DESCRIPTION)
RUBY_PLATFORM = "@arch@"
- RUBY_VERSION = "@MAJOR@.@MINOR@.@TEENY@"
- RUBY_DESCRIPTION = "ruby #{RUBY_VERSION} (#{Time.now.strftime("%Y-%m-%d")}) [#{RUBY_PLATFORM}]"
+ RUBY_VERSION = "@RUBY_PROGRAM_VERSION@"
+ RUBY_DESCRIPTION = "ruby #{RUBY_VERSION} (@RUBY_RELEASE_DATE@) [#{RUBY_PLATFORM}]"
end
if RUBY_PLATFORM =~ /mswin|bccwin|mingw/
class File