From: Matt M. <mat...@gm...> - 2005-07-29 14:01:48
|
Hi. I'm trying to build ruby-coca 0.4.1 from source on MacOSX 10.4.2 using the DarwinPorts build of Ruby. I have my path configured so that /opt/local/bin/ is before /usr/bin and "which ruby" reports: /opt/local/bin/ruby Ruby version is: ruby 1.8.2 (2004-12-25) [powerpc-darwin8.1.0] I unpacked ruby-cocoa using tar and then built it using install.rb. The "config" and "setup" commands seem to work fine. However when I go into the "tests" folder and run the tests I get: ---output--- Irulan:~/build/rubycocoa-0.4.1/tests matt$ DYLD_FRAMEWORK_PATH=../framework/build ruby -I../lib -I../ext/rubycocoa testall.rb tc_nsattributedstring.rb tc_nsdata.rb tc_nsstring.rb tc_objcptr.rb tc_rubystring.rb tc_subclass.rb Loaded suite testall Started .....................2005-07-29 14:47:23.044 ruby[15149] *** Uncaught exception: <NSCharacterConversionException> Conversion to encoding 30 failed for string "オブジェクト指向スクリプト言語Ruby" Trace/BPT trap ---output--- A search of the mailing list archives didn't turn up anything about this problem. I did find people talking about NSCharacterConversion problems in terms of Cocoa in general but I'm not familar enough the Mac/Cocoa to follow. Can anyone help me? Thanks, Matt -- Matt Mower :: http://matt.blogs.it/ |