# Engine classes don't auto load in production environment (Rails 2.3.2 + smerf plugin)

**URL:** <https://www.ruby-forum.com/t/engine-classes-dont-auto-load-in-production-environment-rails-2-3-2-smerf-plugin/172281>\
**Category:** Rails\
**Created:** [July 18, 2009, 3:07pm UTC](https://www.ruby-forum.com/t/engine-classes-dont-auto-load-in-production-environment-rails-2-3-2-smerf-plugin/172281 "2009-07-18T15:07:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ari](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/5f8ce5/32.png) [@ari](https://www.ruby-forum.com/u/ari)\
**Post date:** [July 18, 2009, 3:07pm UTC](https://www.ruby-forum.com/t/engine-classes-dont-auto-load-in-production-environment-rails-2-3-2-smerf-plugin/172281/1 "2009-07-18T15:07:53Z")

</div>

Hi all,

I’m trying to use the smerf plugin in a rails app, and I’ve  
encountered something strange. The plugin uses the 2.3 engines  
ability to autoload classes under the app folder (e.g. /vendor/plugins/  
smerf/app/\*), but I get constant missing errors when I try to call  
those parts from the production environment. It works fine in  
development. Source is here if that helps:

git://assembly.cornell.edu/git/survey.git

Any advice appreciated.

-Ari
