Importing User Libraries into Rails

Hi all,

I’m using Netbeans 6.5 to develop a Rails application.

I have already developed a small library to assist me in the app. It
is in another project/directory. What is the best way to load this
library in Rails?

I have added the following to the Rails application’s environment.rb:

config.load_paths += %W(absolute/path/to/lib)

but this doesn’t seem to work. Any clues?

Thanks!

Shak