Building Simple GUI Application in Ruby

Y

Yousef Jawwad

hi everybody ,
Iam trying to develop a simple gui application by using NetBean6.5 on
windows, by using 'tk' library when I tried to load it by using
require"tk".
it did not contine.

* : I installed ActiveTcl on my computer

this the error that was happened :

C:/Ruby/lib/ruby/1.8/i386-mswin32/tcltklib.so: 126: The specified module
could not be found. - C:/Ruby/lib/ruby/1.8/i386-mswin32/tcltklib.so
(LoadError)
from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31: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:31:in
`gem_original_require'
from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from C:/Documents and Settings/Yousef/My
Documents/NetBeansProjects/RubyApp1/lib/main.rb:4
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top