Topic: files in lib folder are not detected

in my project i have written few classes under  lib folder but rails is not detecting those classes in production environment .

can anyone suggest how to overcome this problem

Re: files in lib folder are not detected

Are you using rails3? If yes then have you have to add lib dir to autoload path yourself because rails 3 doesn't load files from lib.

Re: files in lib folder are not detected

No i am using rails 2.3.2

I get the uninitialized Constant error.

I use Apache in the production environment and rails script/server in the development environment.

Is anything wrong with RAILS_ROOT environment?

Last edited by nayak (2010-11-11 03:28:05)