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

error pushing to heroku #63

Closed
cj opened this issue Jan 28, 2014 · 3 comments
Closed

error pushing to heroku #63

cj opened this issue Jan 28, 2014 · 3 comments

Comments

@cj
Copy link

cj commented Jan 28, 2014

Hi,

So I've include the gem and added config.lograge.enabled = true to my config and everything works locally (rails 4.0.1). When I push to heroku I get this error:

https://gist.github.com/anazar/b9f038674dc6bb9844cf

@roidrage
Copy link
Owner

Sorry for the delayed response. Is this issue still coming up?

@dpaluy
Copy link

dpaluy commented Jul 14, 2014

@cj You probably have gem 'rack-cache' and config.action_dispatch.rack_cache = true in production.rb
lograge expect a hash as seen here

@roidrage Can you make the following lograge.rb#L116

app.config.action_dispatch.rack_cache[:verbose] = false if app.config.action_dispatch.rack_cache && 
     app.config.action_dispatch.rack_cache.is_a?(Hash)

@pxlpnk
Copy link
Collaborator

pxlpnk commented Feb 7, 2015

Fixed in #103

@pxlpnk pxlpnk closed this as completed Feb 7, 2015
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

4 participants