Lyle Johnson wrote:


>     require 'tk'
>     TkLabel.new {
>         text 'Hello, World!'
>         pack
>     }
>     Tk.mainloop
> 
> You shouldn't (need to) modify the require statement to indicate a path. The
> code as shown above should "just work" with the Windows installer. If it
> doesn't, please give more info.


irb(main):001:0> require 'tk'
LoadError: tcltklib: tcltk_stubs init error(-1)
         from /cygdrive/c/RUBY/lib/ruby/1.6/tk.rb:7:in `require'
         from /cygdrive/c/RUBY/lib/ruby/1.6/tk.rb:7
         from (irb):1:in `require'
         from (irb):1

C:\WINDOWS>ruby --version
ruby 1.6.5 (2001-09-19) [i386-cygwin]

Tobi

-- 

* peace&love.
* http://www.pinkjuice.com/