Jon Forums wrote in post #1030863:
n C:\Ruby192\bin ?
>
> Hey, you're missing out on one of the best ways to learn Ruby;
> spelunking Ruby's innards via `irb` or `ripl`.
>
> Try something this and see what you discover :)
>
> C:\>irb
> irb(main):001:0> puts $LOAD_PATH
> C:/ruby193/lib/ruby/site_ruby/1.9.1
> C:/ruby193/lib/ruby/site_ruby/1.9.1/i386-msvcrt
> C:/ruby193/lib/ruby/site_ruby
> C:/ruby193/lib/ruby/vendor_ruby/1.9.1
> C:/ruby193/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt
> C:/ruby193/lib/ruby/vendor_ruby
> C:/ruby193/lib/ruby/1.9.1
> C:/ruby193/lib/ruby/1.9.1/i386-mingw32
> => nil
> irb(main):002:0>

Hi Jon! I am familiar with IRB and 'puts $LOAD_PATH'.  I fail to see 
your point.   I still don't know what file is being required in:

require 'rubygems'

Is it the rubygems.rb in C:\Ruby192\lib\ruby\1.9.1 ?

If it is, then why is that when I cut it and paste it somewhere else 
(e.g. on the Desktop), the program which has the require 'rubygems' code 
would still run?

Thanks!

-- 
Posted via http://www.ruby-forum.com/.