From: Sean Date: 2007-01-23T01:25:06+09:00 Subject: Re: how to install/use ruby and tk on winxp? hello, I used the one click installer to install Ruby. then I try to run a test using this code: require 'tk' root = TkRoot.new { title "Ex1" }TkLabel.new(root) { text 'Hello, World!' pack { padx 15 ; pady 15; side 'left' } } Tk.mainloop however a popup tells me that: "This application has failed to start because tk84.dll was not found. re-installing the application may fix this problem." So should i reinstall ruby again? And here is the cmd line error screen. C:\ruby_prog>ruby gui.rb c:/ruby/lib/ruby/1.8/i386-mswin32/tcltklib.so: 126: The specified module could not be found. - c:/ruby/lib/ruby/1.8/i386-mswin32/tcltklib.so (LoadError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from c:/ruby/lib/ruby/1.8/tk.rb:7 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from gui.rb:1 On Jan 22, 5:14 am, Harry wrote: > On 1/22/07, Sean wrote:> Hello > > Im a newby with ruby. Im trying to do some user interface withtk. I > > have Ruby 1.8.5-21 and it's working fine. > > I also installed activestate tcl 8.5.0.0 beta-6. From there on, I don't > > really know how to bind Ruby andtktogether to create some GUI. > > Any suggestion?If you use the one click installertkis included.http://rubyforge.org/projects/rubyinstaller/ > > I don't know of any books about rubytkbut try this;http://www.rubycentral.com/book/ext_tk.html > > Harry > > --http://www.kakueki.com/ruby/list.html > English translation of Ruby list subjects