# Importing User Libraries into Rails

**URL:** <https://www.ruby-forum.com/t/importing-user-libraries-into-rails/160097>\
**Category:** Rails\
**Created:** [February 11, 2009, 8:07pm UTC](https://www.ruby-forum.com/t/importing-user-libraries-into-rails/160097 "2009-02-11T20:07:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a3d4f5/32.png) [@Shak](https://www.ruby-forum.com/u/Shak)\
**Post date:** [February 11, 2009, 8:07pm UTC](https://www.ruby-forum.com/t/importing-user-libraries-into-rails/160097/1 "2009-02-11T20:07:53Z")

</div>

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
