ruby 图形化 Can't find a usable init.tcl

1.需要ActiveTcl  http://downloads.activestate.com/ActiveTcl/Windows 需要tcl8.4.dll

 

这个错误下边链接Can't find a usable init.tcl

http://www.archivum.info/comp.lang.tcl/2006-03/msg00338.html

 

命令行 输入下边两行,eclipse不会闹

SET TCL_LIBRARY=C:\Tcl\Lib\tcl8.4

ruby swing.rb

 

require ‘tk’ 
TkLabel.new{text ‘Hello,world’;pack}# helloWorld 
Tk.mainloop 

 

 

 

你可能感兴趣的:(eclipse,windows,swing,Ruby,Tcl)