config.ember shouldn't NameError when running in prod sans assets. #119

Closed
jamesotron opened this Issue Jan 23, 2013 · 2 comments

3 participants

@jamesotron

Currently running assets:precompile will fail without a config.ember.variant for your production environment, however config.ember will raise a NameError when starting in production when bundled without assets.

At the very least we need to document a workaround to this chicken/egg situation:

  config.ember.variant = :production if config.respond_to? :ember

However, I've been trying to think of a better way to do this. I'm happy to write the code if we can come up with a good solution. Any suggestions?

@machty
Ember.js member

I'm having trouble parsing some of this. Is this still an issue with the latest ember-rails? If so, could you list the config steps to reproduce the NameError?

@stefanpenner
Ember.js member

stale and likely fixed, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment