[PATCH] fix Ruby 1.9 deprecation warning for Config, use RbConfig
From: Andreas Stieger <andreas.stieger_at_gmx.de>
Date: Sat, 12 May 2012 00:20:35 +0100
Hello,
[[[
The configure script reads the Ruby major and minor version to reject
ruby -rrbconfig -e 'print Config::CONFIG.fetch(%q(MAJOR))'
So instead of meaningful message we get:
checking for Ruby major version... -e:1: Use RbConfig instead of
The same warning is triggered when trying to configure SWIG_RB_COMPILE
ruby -rrbconfig -e 'print Config::RbCONFIG.fetch(%q(MAJOR))'
This was found during work on the openSUSE package. Please review,
Andreas
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.