Ruby Classes

Hi,

I’m so frustrated. My app has two classes that don’t inherit from
Active Record. Everything is happy as long as I am running under
lighttpd on my local machine (OSX). When I move it into the
development environment on the server (running Apache on Linux), it
suddenly can’t recognize any of the methods for those classes, though
it appears to make an instance with .new.(i.e., logger.error output
shows an object of the correct class) On the server, running script/
console, I can make an instance of the class and use all its methods

  • no problem. But running under Apache, I get a NoMethodError when
    the app tries to call a method for the new instance.

Has anyone seen anything like this before? or have some strong
intuition as to what might be wrong?

Thanks,
Denise

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs