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

Loading Rails.logger in qu.rb causes exception #48

Closed
JonRowe opened this issue May 28, 2012 · 2 comments
Closed

Loading Rails.logger in qu.rb causes exception #48

JonRowe opened this issue May 28, 2012 · 2 comments

Comments

@JonRowe
Copy link

JonRowe commented May 28, 2012

On Rails 2.1 (yes I know...) using:

config.gem 'qu'

Causes rails to bomb out with the exception/error

 Anonymous modules have no name to be referenced by

which is down to qu.rb accessing Rails.logger before it's initialized. This is pretty edge case but I just thought I'd flag an issue for other people that might run into it. You can work round this byrequire 'qu' in boot.rb before loading rails and then configuring the logger yourself.

@bkeepers
Copy link
Owner

Yeah, Sorry. I will not be supporting Rails 2.1.

I will however be releasing the rails integration as a separate qu-rails gem soon, so for older versions of Rails you can just use qu and configure it manually.

@JonRowe
Copy link
Author

JonRowe commented May 29, 2012

Totally reasonable, I was just flagging it as a known issue for us poor sods stuck on older versions of Rails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants