le0pard/mongodb_logger

Rails 5 support

JonasNielsen opened this issue · 3 comments

As far as I can tell mongodb_logger should be able to support Rails 5 once Sinatra is Rails 5 compatible (issue here).

Meanwhile anyone coming across this can use:

# Gemfile
gem 'rack-protection', github: 'sinatra/rack-protection'
gem 'sinatra', github: 'sinatra/sinatra'
gem 'mongodb_logger',
  github: 'JonasNielsen/mongodb_logger',
  branch: 'rails-5'

That's necessary because sinatra is disabled in .gemspec

Thanks. I can create rails5 branch and in this case you can make PR to it.

b264 commented

This may work now sinatra/sinatra#1173

@b264 thanks for info