Re: [cmake-developers] [PATCH] FindRuby: Fix output check in _RUBY_CONFIG_VAR

2015-01-09 Thread Evangelos Foutras
On 29 December 2014 at 19:02, Evangelos Foutras wrote: > Since commit 854e762 (FindRuby: clean up querying variables from Ruby) > we query RbConfig::CONFIG first and, if the command fails or its output > equates to a false constant, then fall back to querying Config::CONFIG. > > D

[cmake-developers] [PATCH] FindRuby: Fix output check in _RUBY_CONFIG_VAR

2014-12-29 Thread Evangelos Foutras
Since commit 854e762 (FindRuby: clean up querying variables from Ruby) we query RbConfig::CONFIG first and, if the command fails or its output equates to a false constant, then fall back to querying Config::CONFIG. Due to the above, an error condition exists with Ruby 2.2.0; when querying RbConfig