From: Jim Weirich Date: 2006-03-14T23:07:38+09:00 Subject: Re: Ruby Include Dirs for libs Florian Assmann wrote: > Hi there, > > does anybody know which are the default dirs for ruby to search its > ..rb's and .so's? > > I tried to include postgres-pr but ruby fails finding it. It's residing > in my ruby/gems/1.8/ dir. I don't know it's really installed this way. If it is in your gems directory, make sure you require rubygems before requiring the library. Either do an explicit 'require "rubygems"' in your code, or make sure that the RUBYOPT environment variable is set to 'rubygems'. -- -- Jim Weirich -- Posted via http://www.ruby-forum.com/.