bellycard / napa

A simple framework for building APIs with Grape
Other
329 stars 72 forks source link

Deploying a napa app to heroku fails because /app/log is not writable #196

Closed craigulliott closed 8 years ago

craigulliott commented 9 years ago

Potential solution could be the creation of a Napa.root method (similar to Rails.root) and use it to ensure we write to the correct place (/log not /app/log).

You can fix this for deploy by disabling the middleware in app.config

The code which causes this is https://github.com/bellycard/napa/blob/master/lib/napa/logger/logger.rb#L25