Meaning of subdirs within $LOAD_PATH

Hello,

what’s the meanding of the different subdirectories which ar part of
$: resp. $LOAD_PATH?

I suppose a subdirectory “1.8” is for ruby-1.8-modules only, the
“x86_64-linux” directory is special for that architecture a.s.o., but
what is a difference between “lib/site_ruby” and “lib/ruby”? Where
should I put my self written modules?

Regards
Thomas

On Fri, 26 Jan 2007, Thomas H. wrote:

Regards
Thomas

i think the difference is suppose be between built-in and add-on
libraries
installed via the

ruby install.rb

or

ruby extconf.rb && make && sudo make install

methodology.

then gems does it’s own thing. sigh…

-a

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