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’
irb(main):002:0> require ‘tkextlib/tkimage’
LoadError: cannot load such file – tkextlib/tkimage
require' from C:/Ruby200-x64/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_re quire.rb:55:inrequire’
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?