rb testapp.rb
info: Mocha gem not found - install it with 'gem install mocha' if you 
want to use AutoStubber in tests
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/../extensions/gtk/widgets/gtk_widget.rb:22:in 
`name': undefined method `builder_name' for #<Gtk::Window:0xb7225698 
ptr=0x8441218> (NoMethodError)
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/../extensions/gtk/interface_builder.rb:29:in 
`create_object_accessors'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/../extensions/gtk/interface_builder.rb:28:in 
`each'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/../extensions/gtk/interface_builder.rb:28:in 
`create_object_accessors'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/views/interface_builder.rb:13:in 
`load_from_file'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/views/freight_view.rb:44:in 
`initialize'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/ioc/registry.rb:17:in 
`new'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/ioc/registry.rb:17:in 
`resolve'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/ioc/container.rb:18:in 
`[]'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/viewmodels/freight_view_model.rb:29:in 
`bootstrap'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/viewmodels/freight_view_model.rb:23:in 
`new'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/ioc/registry.rb:17:in 
`resolve'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/ioc/container.rb:18:in 
`[]'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/bootstrapper.rb:31:in 
`start'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/../extensions/gtk/gtk_bootstrapper.rb:28:in 
`start_main_loop'
        from 
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightrain/bootstrapper.rb:30:in 
`start'
        from testapp.rb:9


Hmm not sure what I did wrong.

Does it require a specific GtkVersion?

-- 
Posted via http://www.ruby-forum.com/.