diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-24 07:09:40 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-24 07:09:40 +0000 |
commit | 62c885753c9ebb5f8eaeccf1eca1d7d5726f5188 () | |
tree | a26b4d9b71eb09d7ef9f99516bb8d3ca607c7c2e /win32/resource.rb | |
parent | a560aa5620fabdfcedbabc52c2aa7c001a48e647 (diff) |
* win32/resource.rb: CONFIG["TEENY"] is not ruby's version but API's
one. So need to use RUBY_VERSION instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rwxr-xr-x | win32/resource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ require 'rbconfig' CONFIG = RbConfig::MAKEFILE_CONFIG -version = %w'MAJOR MINOR TEENY'.map{|v| CONFIG[v] || '0'} = CONFIG['LEVEL'] nversion = (version + [.to_i < 0 ? '0' : ]).join(',') sversion = version.join('.') + (.to_i < 0 ? 'dev' : "p#{}") |