Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upmin is conflicting with Impressionist #96

Open
firedev opened this issue Oct 16, 2014 · 1 comment
Open

Upmin is conflicting with Impressionist #96

firedev opened this issue Oct 16, 2014 · 1 comment
Labels

Comments

@firedev
Copy link

firedev commented Oct 16, 2014

I am using gem impressionist for tracking views. Tried to add Upmin to my project and found a strange behaviour. As soon as there a block passed to Upmin initalizer, it starts to eager load all controllers and whatnot but somehow Impressionist is not initialized at that moment.

This works fine:

# config/initializers/upmin_admin.rb
Upmin.configure

This breaks Impressionist, application just can't start undefined method 'impressionist' for AnyController:Class

Upmin.configure do |config|
end
@joncalhoun
Copy link
Member

I'll try to check up on this sometime this weekend. Any chance you have a test application where I can replicate the issue quickly?

@joncalhoun joncalhoun added the bug label Oct 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants