[Rubycocoa-devel 732] Re: Latest apple-unstable svn failing on require 'osx/cocoa'

Back to archive index

Laurent Sansonetti lsans****@apple*****
Sun Feb 11 02:57:04 JST 2007


In fact the bridge support stuff changed a lot in the last couple of  
days. At a glance I broke the installation phase, and just fixed it in  
r1546. Could you retry a complete install (config, setup and install)?

Laurent

On Feb 10, 2007, at 4:03 AM, Chris Mcgrath wrote:

> $ irb
>>> require 'osx/cocoa'
> NameError: undefined method `NSClassFromString' for OSX:Module
>          from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/
> osx/objc/oc_wrapper.rb:22:in `method_missing'
>          from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/
> osx/objc/oc_import.rb:179:in `ns_import'
>          from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/
> osx/objc/oc_import.rb:143:in `const_missing'
>          from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/
> osx/objc/oc_attachments.rb:41
>          from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `gem_original_require'
>          from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `require'
>          from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/
> osx/objc/oc_all.rb:11
>          from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `gem_original_require'
>          from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `require'
>          from /Library/Frameworks/RubyCocoa.framework/Resources/ruby/
> osx/objc/foundation.rb:7
>          from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `gem_original_require'
>          from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `require'
>          from /opt/local/lib/ruby/site_ruby/1.8/osx/foundation.rb:8
>          from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `gem_original_require'
>          from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `require'
>          from /opt/local/lib/ruby/site_ruby/1.8/osx/cocoa.rb:7
>          from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `gem_original_require'
>          from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `require'
>          from (irb):1>>
> _______________________________________________
> Rubycocoa-devel mailing list
> Rubyc****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel




More information about the Rubycocoa-devel mailing list
Back to archive index