From: Ryan Braun Date: 2013-06-06T08:27:20+09:00 Subject: RubyTk - tkimg fails to import? Hi, In order to use PNG files with RubyTk I need to import the 'tkimg' library (or so I'm told). However, every time I do so, I get an error message and it fails to import. In IRB I get the following: > require 'tk' => true > require 'tkextlib/tile' => true > require 'tkextlib/tkimg' RuntimeError: TkPackage can't find package Img from C:/Ruby193/lib/ruby/1.9.1/tk/package.rb:86:in `rescue in require' from C:/Ruby193/lib/ruby/1.9.1/tk/package.rb:83:in `require' from C:/Ruby193/lib/ruby/1.9.1/tkextlib/tkimg.rb:16:in `' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from (irb):4 from C:/Ruby193/bin/irb:12:in `
' I've looked inside the tkextlib folder and poked around with the tkimg.rb and within the tkimg folder with no success. I'm currently using ruby 1.9.3p429 via the windows ruby installer (http://rubyinstaller.org/downloads/) I've tried the newest 2.0 (both x86 and x64 versions) as well with no luck. I've also installed the Active Tcl (even though I don't think it's necessary) Anyone know how to fix this? -- Posted via http://www.ruby-forum.com/.