Issue 1524 - ruby configuration in 2.2

This commit is contained in:
Thomas Nagy 2014-12-29 20:01:02 +01:00
parent 6c11f91e12
commit 0b926c7682
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ def check_ruby_ext_devel(self):
return Utils.to_list(self.cmd_and_log(self.env.RUBY + ['-rrbconfig', '-e', cmd]))
def read_config(key):
return read_out('puts Config::CONFIG[%r]' % key)
return read_out('puts RbConfig::CONFIG[%r]' % key)
ruby = self.env['RUBY']
archdir = read_config('archdir')