<div><FONT size=3>hi</FONT></div> <div><FONT size=3>i am trying to make the following code to an exe</FONT></div> <div><FONT size=3>require 'tk'</FONT></div> <div><FONT size=3>root = TkRoot.new</FONT></div> <div><FONT size=3>root.title = "Window"</FONT></div> <div><FONT size=3>button = TkButton.new(root)</FONT></div> <div><FONT size=3>button.text = "Button"</FONT></div> <div><FONT size=3>button.place('height' => 25,<BR> 'width' => 50,<BR> 'x' => 10,<BR> 'y' => 10)</FONT></div> <div><FONT size=3>Tk.mainloop</FONT></div> <div><FONT size=3></FONT> </div> <div><FONT size=3>it runs okay using the command: ruby butn.rb<BR>then i have applied the command exerb
butn.rb<BR>and it generated the file butn.exe<BR>but when i want to run the butn.exe it fails with a message:<BR>butn.rb:1:in `require': No such file to load -- tk (LoadError)<BR> from butn.rb:1</FONT></div> <div><FONT size=3>what should i do</FONT></div> <div><FONT size=3>i am using exerb v4.2 and ruby 1.8.6 on windows xp</FONT></div> <div><FONT size=3>thanks</FONT></div> <div><FONT size=3></FONT> </div> <div><FONT size=3></FONT> </div> <div><FONT size=3></FONT> </div> <div><FONT size=3></FONT> </div><p> 
<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>