meaning of subdirs within $LOAD_PATH

T

Thomas Hafner

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
 
A

ara.t.howard

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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top