# NameError: uninitialized constant after deployment

**URL:** <https://www.ruby-forum.com/t/nameerror-uninitialized-constant-after-deployment/122700>\
**Category:** Deployment\
**Created:** [December 11, 2007, 12:14am UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-after-deployment/122700 "2007-12-11T00:14:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c0e974/32.png) [@gabru](https://www.ruby-forum.com/u/gabru)\
**Post date:** [December 11, 2007, 12:14am UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-after-deployment/122700/1 "2007-12-11T00:14:15Z")

</div>

i have set up my deployment with capistrano and it works fine till the  
step i call the app in the browser… it cannot find any of my custom  
classes …

on the first call to a custom class i get a  
NameError: uninitialized constant after deployment

i hooked up a console for testing and the same happens …  
could someone give me some hints…
