How to require tkextlib/tkimg

Hi all,

I have Ruby 2.0.0-x64 installed on my windows 8. I want to require
. I check folder of ‘C:/Ruby200-x64/ruby/2.0.0’ and I can see many
subfolders, of two of which are tk and tkextlib. And inside th tkextlib
subfolder, I can see tkimage.rb.

This is what I see in a console window:
ruby 2.0.0p451 (2014-02-24) [x64-mingw32]

irb(main):001:0> require ‘tk’
=> true
irb(main):002:0> require ‘tkextlib/tkimage’
LoadError: cannot load such file – tkextlib/tkimage
quire.rb:55:in require' from C:/Ruby200-x64/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_re quire.rb:55:inrequire’
from (irb):2
from C:/Ruby200-x64/bin/irb:12:in `’

My question: How can Ruby not see the file of tkimage? which line code
should I use to require this file?


Problem sovled by reading another post on the forum,
entitled “tkimg fails to import?”

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs