Yukihiro Matsumoto wrote: > > Hi, > > In message "[ruby-talk:02793] After-the-fact installation questions" > on 00/05/12, Albert Wagner <alwagner / tcac.net> writes: > > |I assume that there was a reason for this structure. What should I do > |with the dir/files left behind in ~/tmp? Most specifically > |ruby-1.4.4/ext? > > Do you mean you want to tell ruby to search for ~/tmp/ruby-1.4.4/ext? > You can add search path by -I option. You need to add path explicitly > for variety of reasons (security, for example). > > I don't know what *.pth does for Python. I'll check them. > > matz. ======================== Thanks for the reply, Matz. I discovered part of the answer by studying the code for rbconfig.rb and mkmf.rb. But I am still uncertain as to how far down the installation tree ruby searches for files. Re: python: I think python only searched down to a "site-packages" dir, then if it discovered any files with a .pth extension it read them for an additional path to search. Typically, an extension could be installed as a subdirectory of site-packages, but it could be someplace else. As part of it's installation it, or you, would put into the site-packages dir a path file that contained a single line that was a pathname to the extension's directory. -- Small is Beautiful