diff options
Diffstat (limited to 'ext/configsub.rb')
-rw-r--r-- | ext/configsub.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/configsub.rb b/ext/configsub.rb index 315cdaf868..4db6c22a69 100644 --- a/ext/configsub.rb +++ b/ext/configsub.rb @@ -3,7 +3,7 @@ BEGIN { CONFIG = {} - VERSION.scan(/(\d+)\.(\d+)\.(\d+)/) do + RUBY_VERSION.scan(/(\d+)\.(\d+)\.(\d+)/) do # overridden if config.status has version CONFIG['MAJOR'] = $1 CONFIG['MINOR'] = $2 |