Skip to content

Problem with ember.variant in configuration files #98

@Draiken

Description

@Draiken

So, I recently upgraded ember from an older version, and had to add the config.ember.variant = :production to my config/environments/production.rb

The problem is, when precompiling the assets, everything goes fine, but when I start the server, I get this error:

'method_missing': undefined method `ember' for #Rails::Application::Configuration:0x00000003e46710 (NoMethodError)

https://gist.github.com/3793642 (stack trace)

So I remove the variant line, and the app boots normally.

But with it removed, I get errors when precompiling the assets.
I am using ember-rails 0.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions