I foget to write the subject in the previous mail. The problem was that when I use ruby with tk in FreeBSD then it was showing an error as given below…
require': No such file to load -- tcltklib (LoadError) from /usr/local/lib/ruby/1.6/tk.rb:7 from Pilot.rb:2:inrequire’
But the problem is solved now. After reinstalling Ruby 1.6.8 from FreeBSD it also install tcltk and all of the required files. So, now I am happay.