Luis Lavena
4/30/2008 2:06:00 AM
On Apr 29, 7:12 am, Preecha Tu <preech...@gmail.com> wrote:
> I am a newbie for Ruby, I d/l one-click of Ruby1.8.6 and install ,then
> it well used, I have learn ruby with GUI pratice , and found that TK8.5
> is available ,but after installation, I try to simple run code with RDE
> editor, it shown error as
>
> ----- code -----------------
> require "tk"
> root = TkRoot.new{title "Test root"}
> Tk.mainloop
> ----------------------------
>
> I got error message shown " This application has failed to star
> because tk84.dll was not found"
>
> I try copied "tk85.dll" from "c:\Tcl" directory "c:\ruby186_25\lib"
> and attemp to fix it by several method , but there's nothing result , Do
> any body ever found problem like this ? , please help me for suggestion.
First: during installation of One-Click installer it suggest you
install ActiveTcl *8.4* for tk to work with One-Click.
At least, that was the list time I build the installer.
Not 8.5, not 8.3... 8.4.
Second, you need to put the DLL in a directory of PATH, being lib/ not
one of these. I suggest you move the tk84.dll (from ActiveTcl 8.4) to
ruby/bin instead.
HTH,
--
Luis Lavena