Hello,
thanks a lot for your answer.
I have the Tk version installed with the RubyInstaller for Windows, so I
think I shouldn't have to install anything more. but you are right,
there seem to be a problem with the extension packages or the way they
are installed.
I tried pkg_checker.rb and got a lot of fail. (you can see an extract of
the result at the end of my post).
I'm gonna ask for more information about the Tk installation on the
RubyInstaller forum and what should be really included.
thanks again for your answer, I'll keep your infos about Tk::AUTO_PATH,
in case I switch to the ActiveTcl version..
short extract from the result :
rubyw "pkg_checker.rb"
Ruby/Tk extension library checker
( Note:: This check is very simple one. Shown status may be wrong. )
check directory :: C:/Ruby193/lib/ruby/1.9.1/tkextlib
$LOAD_PATH :: ["C:/Ruby193/lib/ruby/site_ruby/1.9.1",
"C:/Ruby193/lib/ruby/site_ruby/1.9.1/i386-msvcrt",
"C:/Ruby193/lib/ruby/site_ruby",
"C:/Ruby193/lib/ruby/vendor_ruby/1.9.1",
"C:/Ruby193/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt",
"C:/Ruby193/lib/ruby/vendor_ruby", "C:/Ruby193/lib/ruby/1.9.1",
"C:/Ruby193/lib/ruby/1.9.1/i386-mingw32"]
*LACK : blt.rb : require->{} FAIL->[["BLT", :package]]
Ready : blt/barchart.rb : require->{}
Ready : blt/bitmap.rb : require->{}
Ready : blt/busy.rb : require->{}
Ready : blt/component.rb : require->{}
Ready : blt/container.rb : require->{}
Ready : blt/cutbuffer.rb : require->{}
Ready : blt/dragdrop.rb : require->{}
...
*LACK : bwidget.rb : require->{} FAIL->[["BWidget", :package]]
*LACK : bwidget/arrowbutton.rb : require->{}
FAIL->[["tkextlib/bwidget/button", :require_ruby_lib]]
Ready : bwidget/bitmap.rb : require->{}
Ready : bwidget/button.rb : require->{}
*LACK : bwidget/buttonbox.rb : require->{}
FAIL->[["tkextlib/bwidget/button", :require_ruby_lib]]
*LACK : bwidget/combobox.rb : require->{}
FAIL->[["tkextlib/bwidget/listbox", :require_ruby_lib],
["tkextlib/bwidget/spinbox", :require_ruby_lib]]
*LACK : bwidget/dialog.rb : require->{}
FAIL->[["tkextlib/bwidget/buttonbox", :require_ruby_lib]]
Ready : bwidget/dragsite.rb : require->{}
Ready : bwidget/dropsite.rb : require->{}
Ready : bwidget/dynamichelp.rb : require->{}
...
Ready : tcllib.rb : require->{}
*LACK : tcllib/autoscroll.rb : require->{} FAIL->[["autoscroll",
:package]]
*LACK : tcllib/calendar.rb : require->{} FAIL->[["widget::calendar",
:package]]
*LACK : tcllib/canvas_sqmap.rb : require->{}
FAIL->[["widget::canvas_sqmap", :package]]
*LACK : tcllib/canvas_zoom.rb : require->{}
FAIL->[["widget::canvas_zoom", :package]]
*LACK : tcllib/chatwidget.rb : require->{} FAIL->[["chatwidget",
:package]]
*LACK : tcllib/crosshair.rb : require->{} FAIL->[["crosshair",
:package]]
*LACK : tcllib/ctext.rb : require->{} FAIL->[["ctext", :package]]
*LACK : tcllib/cursor.rb : require->{} FAIL->[["cursor", :package]]
...
Ready : tile.rb : require->{"tile"=>"0.8.6"}
*LACK : tile/dialog.rb : require->{} FAIL->[["ttk::dialog", :package]]
Ready : tile/setup.rb : require->{}
Ready : tile/sizegrip.rb : require->{}
Ready : tile/style.rb : require->{}
Ready : tile/tbutton.rb : require->{}
...
···
--
Posted via http://www.ruby-forum.com/\.