Hello,

  Great! Thanks for the hint! But behind this solved obstacle there is just the next:

myMini-2:RubyCocoa-1.0.1 kittekat$ ruby install.rb doc
install.rb: entering doc phase...
---> framework
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby gen_bridge_doc.rb build ../bridge-doc
mkdir -p /Users/kittekat/RubyCocoa/RubyCocoa/RubyCocoa-1.0.1/framework/bridge-doc
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I../../ext/rubycocoa -I../../lib gen_bridge_doc/rdocify_framework.rb  '/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Reference/ApplicationKit/' /Users/kittekat/RubyCocoa/RubyCocoa/RubyCocoa-1.0.1/framework/bridge-doc/ruby

Working on: ApplicationKit

mkdir -p /Users/kittekat/RubyCocoa/RubyCocoa/RubyCocoa-1.0.1/framework/bridge-doc/ruby
Processing reference file: CIColor_AppKitAdditions
/Users/kittekat/RubyCocoa/RubyCocoa/RubyCocoa-1.0.1/framework/tool/gen_bridge_doc/lib/cocoa_ref.rb:70:in `join': can't convert nil into String (TypeError)
from /Users/kittekat/RubyCocoa/RubyCocoa/RubyCocoa-1.0.1/framework/tool/gen_bridge_doc/lib/cocoa_ref.rb:70:in `initialize'
from gen_bridge_doc/rdocify_framework.rb:174:in `new'
from gen_bridge_doc/rdocify_framework.rb:174
from gen_bridge_doc/rdocify_framework.rb:171:in `each'
from gen_bridge_doc/rdocify_framework.rb:171
gen_bridge_doc.rb:35:in `command': 'system /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I../../ext/rubycocoa -I../../lib gen_bridge_doc/rdocify_framework.rb  '/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Reference/ApplicationKit/' /Users/kittekat/RubyCocoa/RubyCocoa/RubyCocoa-1.0.1/framework/bridge-doc/ruby' failed (RuntimeError)
from gen_bridge_doc.rb:39:in `ruby'
from gen_bridge_doc.rb:99
from gen_bridge_doc.rb:98:in `each'
from gen_bridge_doc.rb:98
rm -rf bridge-doc
doc failed
hook /Users/kittekat/RubyCocoa/RubyCocoa/RubyCocoa-1.0.1/framework/pre-doc.rb failed:
'system /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby gen_bridge_doc.rb build ../bridge-doc' failed
try 'ruby install.rb --help' for usage
myMini-2:RubyCocoa-1.0.1 kittekat$ 
 
Following your method by checking the source code in found in "cocoa_ref.rb in line 70:

      # Check if there is a overrides file in the override_dir for the given class
      class_overrides_file = File.join(File.dirname(File.expand_path(__FILE__)), @framework, @class_def.output_filename)

Looks like some option is checked. Did not find anything about an override_dir in the --help output of install.rb.

Anyway, here is the current configuration:

myMini-2:RubyCocoa-1.0.1 kittekat$ ruby install.rb show
prefix     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr
install-prefix $prefix
std-ruby   $install-prefix/lib/ruby/1.8
site-ruby  /Library/Ruby/Site/1.8
bin-dir    $install-prefix/bin
rb-dir     $site-ruby
so-dir     /Library/Ruby/Site/1.8/universal-darwin10.0
data-dir   $install-prefix/share
ruby-path  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
ruby-prog  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
make-prog  make
without-ext no
install-root (not specified)
frameworks /Library/Frameworks
xcode-extras /Library/Application Support/Developer/Shared/Xcode/
examples   /Developer/Examples
documentation /Developer/Documentation
gen-bridge-support no
build-as-embeddable yes
ruby-header-dir /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0
libruby-path /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/libruby.1.dylib
ri-dir     /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/site
macosx-deployment-target 10.6
sdkroot    (not specified)
target-archs i386 x86_64
rubycocoa-version 1.0.1
rubycocoa-version-short 1.0.1
rubycocoa-release-date 2009-10-18
rubycocoa-svn-revision 2282
rubycocoa-framework-version A
myMini-2:RubyCocoa-1.0.1 kittekat$ 

Any hint?

Best regards
Kittekat