Skip to content

Many 'Unitialized constant' errors on Rails production #2564

@brauliobo

Description

@brauliobo

When running the app on development, everything works as expected. But then I run the app on production and I see many Unitialized constant Somenamespace::Someclass errors. I can see the paths for constants are added to $: and config.autoload_paths (from rails).

I'm using rails 3.2.21.
The same situation works fine with ruby 2.2.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions