missing constant

The problem says that spec.rb to define Spec. The file exist but and it includes the constant. The thing that is weird is that the problem occurs only during my production environment. IN my development environment, i dont get these errors. has anybody encountered this problem.