Hi Mark,
I'm in Argentina at the moment and I can't investigate
on the issue... as soon as I get ack home (Italy) I'll try
to see what's wrong with your installation. My guess is that
you're not using the latest ruby/GNOME2 release (1.1.4?)...
are you running ubuntu 10.10+? What's the version of your
libgtk2-dev?
Andrea
···
----- Original Message -----
Da : Marc Heiler <shevegen@linuxmail.org>
A : ruby-talk@ruby-lang.org (ruby-talk ML)
Oggetto : Re: Freightrain 0.8.0 released
Data : Sun, 5 Feb 2012 18:59:31 +0900
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/freightr
ain/../extensions/gtk/widgets/gtk_widget.rb:22:in `name':
undefined method `builder_name' for
#<Gtk:0xb7225698 ptr=0x8441218> (NoMethodError)
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/../extensions/gtk/interface_builder.rb:29:in
`create_object_accessors'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/../extensions/gtk/interface_builder.rb:28:in `each'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/../extensions/gtk/interface_builder.rb:28:in
`create_object_accessors'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/views/interface_builder.rb:13:in `load_from_file'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/views/freight_view.rb:44:in `initialize'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/ioc/registry.rb:17:in `new'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/ioc/registry.rb:17:in `resolve'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/ioc/container.rb:18:in `'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/viewmodels/freight_view_model.rb:29:in `bootstrap'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/viewmodels/freight_view_model.rb:23:in `new'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/ioc/registry.rb:17:in `resolve'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/ioc/container.rb:18:in `'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/bootstrapper.rb:31:in `start'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/../extensions/gtk/gtk_bootstrapper.rb:28:in
`start_main_loop'
from
/usr/lib/ruby/gems/1.8/gems/freightrain-0.8.0/lib/freightr
ain/bootstrapper.rb:30:in `start'
from testapp.rb:9Hmm not sure what I did wrong.
Does it require a specific GtkVersion?
--
Posted via http://www.ruby-forum.com/\.