[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Tk under Windows XP

Harry

3/26/2007 11:15:00 AM

On 3/25/07, Jimmy George <mail2jimmy@yahoo.com> wrote:
.
> But When I run this script I get error !. Any ideas why ?.. Do I have to
> install TK/ under the ruby dir ? if so how?.... now its installed
> in "c:\tcl\" dir.
>
> Script :
> equire 'tk'
> hello = TkRoot.new {title "Hello World"}
> Tk.mainloop
>
> Error :
> C:\ruby\jimmy>ruby hello.rb
> c:/ruby/lib/ruby/1.8/i386-mswin32/tcltklib.so: 126: The specified module
> could not be found.
> ror)
> 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 hello.rb:1
>
> C:\ruby\jimmy>
>
>
> Best Regards,
> Jimmy George
>


http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-talk/235467?235196-236313+split-mod...

Harry


--

http://www.kakueki.com/ruby...
Japanese Ruby List Subjects in English