From: Jonathan P. <jp...@dc...> - 2005-09-17 12:20:12
|
On 17 Sep 2005, at 10:57, Matt Mower wrote: > > which I don't really understand since line 68 is passing 'guess1' to > respond_to? I didn't get any hits on a google search. Heh - you beat me to posting about this. After mentioning CVS yesterday I realised that I'd had to make the patch below. The line in question, from: /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/ objc/cocoa_macros.rb:68 looks like this: if NKF.respond_to? 'guess1' && NKF::NKF_VERSION == "2.0.4" which gets parsed as: if NKF.respond_to?('guess1' && NKF::NKF_VERSION == "2.0.4") since NKF::NKF_VERSION is "2.0.4", the argument evaluates to 'true'. Change the line to: if NKF.respond_to?('guess1') && NKF::NKF_VERSION == "2.0.4" or if NKF.respond_to? 'guess1' and NKF::NKF_VERSION == "2.0.4" |